Changeset 584 for trunk/client/src/ndpsmb.c
- Timestamp:
- Jun 28, 2011, 6:48:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.