| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Multiple threads accessing the same files |
> PS> and file-files for instance. If 4 nodes wishes to read/write to the
> same
> PS> message/file-base (thus, the same file), how do I
> PS> coordinate this?
> Many possibilities. Two obvious ones: file locking, and client/serevr
> (C/S). File locking is like a mutex semaphore implemented by the file
> system (slow, but useful if you want multiple copies of your program
> running on more than on networked PC (although C/S would be even better in
> that situation).
> Best: client/server. Even if it is all within one process, a
> client/server thread relationship will stil work.
Hmmm, what's this client/servet thing? Could you explain? File locking I know
of, but then the function accessing the file would have to go into a loop
everytime it wants access to it. Or am I completely wrong...
/ Peter Schuller [TeamOS/2] petersch{at}kuai.se
--- AdeptXBBS v1.08a26 (VC) (Registered)
* Origin: Gamma Epsilon 24h/day +46-(0)18-367781 (2:206/139)SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407 SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1 @PATH: 206/100 205/625 270/101 712/624 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.