|
Re: inter process locking: msg#00274os.netbsd.help
On Sat, Oct 26, 2002 at 04:24:57PM +1300, Feng Lu wrote: > I am using mutex for inter process locking. In the following code, I > expect that when a process is runing, its another instance should wait > until the previous instance completes. However, this does not work. why? pthread mutexes only work in a single process, between two or more threads within that process. You cannot expect them to work between different processes. -- -- Jason R. Thorpe <thorpej@xxxxxxxxxxxxxxxxx> |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ALTQ Error: 00274, Kenjiro Cho |
|---|---|
| Next by Date: | Re: booting problems: 00274, Gorazd Golob |
| Previous by Thread: | Re: inter process lockingi: 00274, Pramod Srinivasan |
| Next by Thread: | make mozilla 1.1 & autoconf: 00274, Gan Uesli Starling |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |