At 1:11 AM +0100 1/4/04, Leopold Toetsch wrote:
Dan Sugalski <[EMAIL PROTECTED]> wrote:
 2) The only thread constructs we are going to count on are:
    *) Abstract, non-recursive, simple locks
    *) Rendezvous points (Things threads go to sleep on until another
 thread pings the condition)
    *) Semaphores (in the "I do a V and P operation, with a count")

All d'accord with above but: I'm not sure yet, but /me thinks that we need to have a CLEANUP_PUSH and _POP handler functionality too. But these are basically macros (simple in the absence of pthread_kill or such) and currently already used :)

I wasn't listing anything we can build ourselves -- arguably we only need two of the three thigns I listed, since with semaphores you can do the rendezvous things (POSIX condition variables, but I'm sure windows has something similar) and vice versa.


> 3) I'm still not paying much attention.

May I ask why?
-- Yes :)
Why?

Got a killer deadline at work. Things ease up after the 9th if I make it, but then I owe someone else at home a few days of time. :)
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to