CVS: beepcore-c/threaded_os/transport bp_fcbeeptcp.c,1.18,1.19
Chris Hanson <[email protected]> Tue, 03 Jun 2003 13:32:26 -0700
| Newsgroups | gmane.network.beep.beepcore.c.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/beepcore-c/beepcore-c/threaded_os/transport
In directory sc8-pr-cvs1:/tmp/cvs-serv15953
Modified Files:
bp_fcbeeptcp.c
Log Message:
Fix obviously incorrect locking sequence.
Index: bp_fcbeeptcp.c
===================================================================
RCS file: /cvsroot/beepcore-c/beepcore-c/threaded_os/transport/bp_fcbeeptcp.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** bp_fcbeeptcp.c 2 Aug 2002 15:08:32 -0000 1.18
--- bp_fcbeeptcp.c 3 Jun 2003 20:32:23 -0000 1.19
***************
*** 1,4 ****
/*
! * Copyright (c) 2001 Invisible Worlds, Inc. All rights reserved.
*
* The contents of this file are subject to the Blocks Public License (the
--- 1,4 ----
/*
! * Copyright (c) 2001, 2003 Invisible Worlds, Inc. All rights reserved.
*
* The contents of this file are subject to the Blocks Public License (the
***************
*** 118,122 ****
break;
case 3:
! SEM_POST(&thisio->lock);
if (thisio->state >= IOS_STATE_ACTIVE)
thisio->state=IOS_STATE_WRITE_PENDING;
--- 118,122 ----
break;
case 3:
! SEM_WAIT(&thisio->lock);
if (thisio->state >= IOS_STATE_ACTIVE)
thisio->state=IOS_STATE_WRITE_PENDING;
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.