This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Semaphores in libc


On Thu, Dec 31, 2009 at 02:57:51PM +0000, Paulo J. Matos wrote:
> Either I misunderstood your suggestions or the server I am running
> this in is not behaving as it should:

You didn't, it's all as I said. What is the server you're running this
on?

> 
> I compiled this file and I ran it under two Putty terminals. In both
> of them, I see "Printing..." at the same time meaning they are both in
> the critical region. :-/
> Don't you see the same thing?

No, the second instance I start gets locked out while the first is in
"Printing..." state. I didn't wait for that one to finish, as I don't
have enough disk space...

-- 
lfr
0/0

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]