fix ifdef indentation (#51)

This commit is contained in:
Connor Clark 2016-07-22 14:29:05 -07:00
parent ab4dea344d
commit 86bad965ce
2 changed files with 1076 additions and 2 deletions

1074
benchmarks.html Normal file

File diff suppressed because one or more lines are too long

View file

@ -84,11 +84,11 @@ forkServer Server{..} f = do
False -> do False -> do
tid <- forkFinally f cleanup tid <- forkFinally f cleanup
atomically $ modifyTVar' outstandingForks (S.insert tid) atomically $ modifyTVar' outstandingForks (S.insert tid)
#ifdef DEBUG #ifdef DEBUG
currSet <- readTVarIO outstandingForks currSet <- readTVarIO outstandingForks
grpcDebug $ "forkServer: number of outstandingForks is " grpcDebug $ "forkServer: number of outstandingForks is "
++ show (S.size currSet) ++ show (S.size currSet)
#endif #endif
return True return True
where cleanup _ = do where cleanup _ = do
tid <- myThreadId tid <- myThreadId