Changeset 8812 for trunk/psLib/src/sys/psMemory.c
- Timestamp:
- Sep 14, 2006, 12:27:29 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psMemory.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psMemory.c
r8809 r8812 8 8 * @author Robert Lupton, Princeton University 9 9 * 10 * @version $Revision: 1.8 4$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-09-1 3 21:14:48$10 * @version $Revision: 1.85 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-09-14 22:27:29 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 291 291 psMemId psMemGetLastId(void) 292 292 { 293 return memid; 293 if (safeThreads) { 294 pthread_mutex_lock(&memIdMutex); 295 } 296 297 psMemId id = memid; 298 299 if (safeThreads) { 300 pthread_mutex_unlock(&memIdMutex); 301 } 302 303 return id; 294 304 } 295 305
Note:
See TracChangeset
for help on using the changeset viewer.
