Changeset 584
- Timestamp:
- Jun 28, 2011, 6:48:51 PM (14 years ago)
- Location:
- trunk/client/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/src/Config.km_
r528 r584 14 14 SAMBA = ../../samba-33 15 15 TOOLKIT = u:/os2tk45 16 17 # libsmb 3.3 is threadunsafe, change _UNSAVE to _SAVE in 3.5 18 LIBSMB_THREAD_UNSAFE = LIBSMB_THREAD_UNSAFE -
trunk/client/src/Makefile.kmk
r544 r584 44 44 ndpsmb_LDFLAGS.debug = -g 45 45 46 ndpsmb_DEFS = 46 ndpsmb_DEFS = $(LIBSMB_THREAD_UNSAFE) 47 47 ndpsmb_INCS = ./h ./rc \ 48 48 $(SAMBA)/source \ -
trunk/client/src/ndpsmb.c
r567 r584 133 133 static int ifL; 134 134 135 /* A mutex to serialize plugin calls because libsmb 3.3 is not thread safe. */ 136 /* while libsbm 3.5 should be threadsafe again, remember to remove it then */ 135 /* A mutex to serialize plugin calls because libsmb may not be thread safe. */ 137 136 static NDMUTEX mutex; 138 137 … … 156 155 ph->fsphReleaseMutex (mutex); 157 156 } 157 158 #ifndef LIBSMB_THREAD_SAFE 158 159 159 160 #define ENTER() do { \ … … 163 164 } while (0) 164 165 165 #define LEAVE() 166 #define LEAVE() do { \ 166 167 lockRelease(); \ 167 168 } while (0) 169 170 #else 171 #define ENTER() do { /* nothing */ } while (0) 172 #define LEAVE() do { /* nothing */ } while (0) 173 #endif 168 174 169 175 int APIENTRY NdpPluginLoad (PLUGINHELPERTABLE2L *pPHT)
Note:
See TracChangeset
for help on using the changeset viewer.