On Mon, 15 Mar 2004 [EMAIL PROTECTED] wrote:
..
> > > ...instead of struggling with hard-to-debug threads in cases where
> > > you actually want the memory protection offered by processes
> > > (something threads don't have) but could not use them before due...
> >
> > i.e. to control access to resources which you have to 'manually' protect
> > via semaphores if you were to use threads...
> 
> SysV semaphores involving locking this shared process threads
> are very well supported on most linux systems.

You know, it's really weird, but I much prefer the threading model to 
using separate processes and SysV IPC. The idiot-mode "shared variables" 
model of threads is transparent IPC. Anyway there are macros for locking 
them.


---
Orlando Andico <[EMAIL PROTECTED]>
Mosaic Communications, Inc.

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to