From: <wda...@us...> - 2009-07-12 18:46:36
|
Revision: 4909 http://oorexx.svn.sourceforge.net/oorexx/?rev=4909&view=rev Author: wdashley Date: 2009-07-12 18:46:28 +0000 (Sun, 12 Jul 2009) Log Message: ----------- Fix for hostemu code. Forgot to unlock the semaphore. Modified Paths: -------------- incubator/hostemu/hostemu.cpp Modified: incubator/hostemu/hostemu.cpp =================================================================== --- incubator/hostemu/hostemu.cpp 2009-07-12 15:18:52 UTC (rev 4908) +++ incubator/hostemu/hostemu.cpp 2009-07-12 18:46:28 UTC (rev 4909) @@ -57,7 +57,7 @@ /* */ /*--------------------------------------------------------------------*/ -#define HOSTEMU_DEBUG +// #define HOSTEMU_DEBUG PCONSTRXSTRING prxCmd = NULL; EXECIO_OPTIONS ExecIO_Options; @@ -399,6 +399,8 @@ for (i = 0; i < ulNumSym; i++) free(pszSymbol[i]); + pthread_mutex_unlock(&hmtxExecIO); + sprintf(retc->strptr, "%u", rc); retc->strlength = strlen(retc->strptr); #ifdef HOSTEMU_DEBUG This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |