>>>>> "Gagan" == gagan grewal <[EMAIL PROTECTED]> writes:

    Gagan> Hi Folks :), [EMAIL PROTECTED] wrote

    >> Semaphores aren't really meant to be counters, though, so
    >> >retrieving the absolute value of the semaphore may be
    >> difficult (or >impossible).

    Gagan> Very much possible ... infact it is exactly this-how I was
    Gagan> able to emulate the Ada rendevouz (somewhat) in C (And yeah
    Gagan> ... am asking for money too ;) )

Ah, yes, the semctl system call appears to return the absolute
semaphore value.  I didn't look at that, just the semop man page,
thanks for the pointer.

You'll have to try harder if you want to get paid, though.  Anyway, my
daughter would probably drive you to suicide within 3 days, and I
don't know what you'd do with a 275MHz PI.V machine with a 8.5"
monitor (5 points to the person who decodes that reference ;)

Regards,

-- Raju
-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves

_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to