This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin shm.cc ChangeLog
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 6 Nov 2007 13:29:53 -0000
- Subject: src/winsup/cygwin shm.cc ChangeLog
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