Use work-stealing for load-balancing in the GC
[ghc-hetmet.git] / rts / parallel / WSDeque.h
index c254671..d85567c 100644 (file)
@@ -9,8 +9,6 @@
 #ifndef WSDEQUE_H
 #define WSDEQUE_H
 
-#if defined(THREADED_RTS)
-
 typedef struct WSDeque_ {
     // Size of elements array. Used for modulo calculation: we round up
     // to powers of 2 and use the dyadic log (modulo == bitwise &) 
@@ -125,6 +123,4 @@ discardElements (WSDeque *q)
 //    pool->topBound = pool->top;
 }
 
-#endif // THREADED_RTS
-
 #endif // WSDEQUE_H