Commits

Anonymous committed 1164da2

Removed more trailing space.

Comments (0)

Files changed (2)

pthreads/pthread/rwlock_fcfs.h

 #include <pthread/rwlock_fcfs_queue.h>
 
 /* This is the struct that is pointed to by the elements of the queue of
- * the FCFS RWLock 
+ * the FCFS RWLock
  * */
 struct pthread_rwlock_fcfs_item_struct
 {
 #define PTHREAD_RWLOCK_FCFS_DEBUG_ARGS , char * id
 #define PTHREAD_RWLOCK_FCFS_DEBUG_CALL_ARGS , id
 #else
-#define PTHREAD_RWLOCK_FCFS_DEBUG_ARGS 
-#define PTHREAD_RWLOCK_FCFS_DEBUG_CALL_ARGS 
+#define PTHREAD_RWLOCK_FCFS_DEBUG_ARGS
+#define PTHREAD_RWLOCK_FCFS_DEBUG_CALL_ARGS
 #endif
 
-/* 
+/*
  * Allocate a new FCFS RWLock
  * */
 extern pthread_rwlock_fcfs_t * pthread_rwlock_fcfs_alloc(void);
  * */
 extern void pthread_rwlock_fcfs_release(pthread_rwlock_fcfs_t * rwlock PTHREAD_RWLOCK_FCFS_DEBUG_ARGS);
 
-/* 
+/*
  * Destroy the RWLock
  * */
 extern void pthread_rwlock_fcfs_destroy(pthread_rwlock_fcfs_t * rwlock);
 
 /*
- * Wait until a certain time (abstime) to get a read access. If it is 
- * not given, continue_callback is called and asks whether to continue 
- * or not. 
- * 
+ * Wait until a certain time (abstime) to get a read access. If it is
+ * not given, continue_callback is called and asks whether to continue
+ * or not.
+ *
  * If it wishes to continue, it is responsible for setting the new abstime.
  *
  * context is the context variable for continue_callback
- * 
+ *
  * */
 extern int pthread_rwlock_fcfs_timed_gain_read(
         pthread_rwlock_fcfs_t * rwlock,
         );
 
 /*
- * Wait until a certain time (abstime) to get a write access. If it is not 
- * given, continue_callback is called and asks whether to continue or not. 
- * 
+ * Wait until a certain time (abstime) to get a write access. If it is not
+ * given, continue_callback is called and asks whether to continue or not.
+ *
  * If it wishes to continue, it is responsible for setting the new abstime.
  *
  * context is the context variable for continue_callback
- * 
+ *
  * */
 extern int pthread_rwlock_fcfs_timed_gain_write(
         pthread_rwlock_fcfs_t * rwlock,
         PTHREAD_RWLOCK_FCFS_DEBUG_ARGS
         );
 
-/* 
+/*
  * Attempt to gain a read access. If it is not given immidiately it returns an
  * error code other than 0.
  *
 extern int pthread_rwlock_fcfs_try_gain_read(pthread_rwlock_fcfs_t * rwlock PTHREAD_RWLOCK_FCFS_DEBUG_ARGS);
 
 
-/* 
+/*
  * Attempt to gain a write access. If it is not given immidiately it returns an
  * error code other than 0.
  *
  * */
 extern int pthread_rwlock_fcfs_try_gain_write(pthread_rwlock_fcfs_t * rwlock PTHREAD_RWLOCK_FCFS_DEBUG_ARGS);
 
-    
+
 #endif /* #ifndef __PTHREAD_RWLOCK_FCFS_H */
 
 

pthreads/pthread/rwlock_fcfs_queue.h

 }
 #endif
 
-#endif /* #ifndef __PTHREAD_RWLOCK_FCFS_QUEUE_H */ 
+#endif /* #ifndef __PTHREAD_RWLOCK_FCFS_QUEUE_H */
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.