[comp.unix.questions] ndbm

stan@cory.Berkeley.EDU (See-Mong Tan) (07/21/89)

Hi, I'd like to use the ndbm(3) package on a 4.3 system for some
record keeping.  The only problem is it involves a couple of processes
in parallel and I'm not sure if the routines in there do atomic 
operations, or if I'll have to resort to flock(2)s to make sure accesses
are atomic on a shared database.  Could someone please enlighten me?

Keeping in tune with IPC, are there semaphore or monitor level system
calls in 4.3?  I know of semops in Sys V, but I'd really like something
for BSD.

Thanks in advance, and please mail, since I don't usually read this group.

--
stan@cory.berkeley.edu
stan@lbl-csam.arpa