Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Threads and shared memory
@ 1993-09-16  9:36 Bruno.Richoux        
  1993-09-17 13:58 ` Nathaniel Mishkin
  1993-09-17 14:48 ` Dave McCracken
  0 siblings, 2 replies; 13+ messages in thread
From: Bruno.Richoux         @ 1993-09-16  9:36 UTC (permalink / raw)


Hi everybody,

I would like to have the following information about using threads in the 
following context : one multi-threaded UNIX process and several "normal"
UNIX processes communicate data through a shared memory segment. This segment
is accessed exclusively and is then protected by an IPC semaphore. The
questions are :

1) Are the UNIX system calls semop and semctl blocking : if the semaphore is locked, a call to semop by a thread blocks the thread or blocks the process ?

2) Related to 1), are there jacket routines developped for primitives
handling shared memory and / or semaphores and where can I get the
information (I've got the DCE thread sources).

3) Has someone encountered the same problems I'm confronted to. As I'm not 
interested in rewriting the world, I would like to benefit from past
experiments.

				     Thanks for listening, Bruno.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~1993-09-27 13:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-09-16  9:36 Threads and shared memory Bruno.Richoux        
1993-09-17 13:58 ` Nathaniel Mishkin
1993-09-17 13:44   ` David Wright
1993-09-17 16:05   ` Andrew Hastings
1993-09-17 16:21   ` Douglas C. Schmidt
1993-09-17 20:02     ` Nathaniel Mishkin
1993-09-18 18:21       ` Douglas C. Schmidt
1993-09-19 23:12         ` Dave Weisman
1993-09-22 20:07           ` Brian Sturgill
1993-09-23  1:20             ` Douglas C. Schmidt
1993-09-23 13:09               ` Nathaniel Mishkin
1993-09-27 13:54               ` George J. Carrette
1993-09-17 14:48 ` Dave McCracken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox