src/winsup/cygwin shm.cc ChangeLog
corinna@cygwin.com
corinna@cygwin.com
Tue Nov 6 13:29:00 GMT 2007
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2007-11-06 13:29:53
Modified files:
winsup/cygwin : shm.cc ChangeLog
Log message:
* shm.cc: Include sync.h
(struct shm_shmid_list): Add ref_count member.
(struct shm_attached_list): Remove hdl and size members. Add a parent
member pointing to referenced shm_shmid_list entry.
(shm_guard): New muto.
(SLIST_LOCK): Define.
(SLIST_UNLOCK): Define.
(fixup_shms_after_fork): Use hdl and size members of parent
shm_shmid_list entry.
(shmat): Access sequential bookkeeping lists in a thread safe way.
Accommodate change in list element layout. Align comments.
(shmctl): Ditto.
(shmdt): Ditto.
(shmget): Ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shm.cc.diff?cvsroot=src&r1=1.33&r2=1.34
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3948&r2=1.3949
More information about the Cygwin-cvs
mailing list