[svn:parrot] r47986 - branches/gsoc_threads/src

mikehh at svn.parrot.org mikehh at svn.parrot.org
Mon Jul 5 00:03:39 UTC 2010


Author: mikehh
Date: Mon Jul  5 00:03:38 2010
New Revision: 47986
URL: https://trac.parrot.org/parrot/changeset/47986

Log:
fix codetest failure - c++ style comments and trailing whitespace

Modified:
   branches/gsoc_threads/src/alarm.c

Modified: branches/gsoc_threads/src/alarm.c
==============================================================================
--- branches/gsoc_threads/src/alarm.c	Sun Jul  4 23:55:03 2010	(r47985)
+++ branches/gsoc_threads/src/alarm.c	Mon Jul  5 00:03:38 2010	(r47986)
@@ -17,7 +17,7 @@
 static Parrot_alarm_queue* alarm_queue;
 static volatile UINTVAL    alarm_serial;
 
-/* This file relies on POSIX. Probably need two other versions of it: 
+/* This file relies on POSIX. Probably need two other versions of it:
  *  one for Windows and one for platforms with no signals or threads. */
 #include <sys/time.h>
 #include <signal.h>
@@ -71,7 +71,7 @@
 */
 
 static void
-set_posix_alarm(FLOATVAL wait) 
+set_posix_alarm(FLOATVAL wait)
 {
     const int MIL = 1000000;
     struct itimerval itmr;
@@ -109,7 +109,7 @@
     /* Not atomic; only one thread ever writes this value */
     alarm_serial += 1;
 
-    // Find the first future item.
+    /* Find the first future item. */
     now = Parrot_floatval_time();
     while(alarm_queue != NULL && alarm_queue->when < now) {
         qp = alarm_queue->next;
@@ -157,7 +157,7 @@
 PARROT_EXPORT
 void
 Parrot_alarm_set(FLOATVAL when) {
-    Parrot_alarm_queue *new_alarm; 
+    Parrot_alarm_queue *new_alarm;
     Parrot_alarm_queue **qpp;
     FLOATVAL now;
 


More information about the parrot-commits mailing list