Changeset 84 in libcf
- Timestamp:
- 05/02/13 14:53:13 (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cf_thread.c
r81 r84 109 109 110 110 result = pthread_create ((THREAD_TYPE *) *threadID, attr, f, arg); 111 if (result < 0)111 if (result) 112 112 { 113 113 CF_Thread_Release (threadID); … … 182 182 183 183 result = pthread_mutex_init (*mutex, NULL); 184 if (result < 0)184 if (result) 185 185 return CF_ERROR_MUTEX_CREATE; 186 186 #endif -
trunk/test/makefile
r83 r84 20 20 21 21 INCLUDES = -I../include 22 LIBS = -L$(TARGET_PATH) -lcf 22 LIBS = -L$(TARGET_PATH) -lcf -lpthread 23 23 24 24 LIB_CF = $(TARGET_PATH)/lib$(TARGET_PATH).$(EXT_SHARED)
Note:
See TracChangeset
for help on using the changeset viewer.