[commit: ghc] master: rts: delint/detab/dewhitespace win32/IOManager.h (94fba59)
git at git.haskell.org
git at git.haskell.org
Mon Jul 28 14:36:06 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/94fba5993db85291674c5c58e64a0b484ee369d4/ghc
>---------------------------------------------------------------
commit 94fba5993db85291674c5c58e64a0b484ee369d4
Author: Austin Seipp <austin at well-typed.com>
Date: Mon Jul 21 19:44:23 2014 -0500
rts: delint/detab/dewhitespace win32/IOManager.h
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
94fba5993db85291674c5c58e64a0b484ee369d4
rts/win32/IOManager.h | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/rts/win32/IOManager.h b/rts/win32/IOManager.h
index 866e950..30fad49 100644
--- a/rts/win32/IOManager.h
+++ b/rts/win32/IOManager.h
@@ -29,10 +29,10 @@
*
*/
typedef void (*CompletionProc)(unsigned int requestID,
- int fd,
- int len,
- void* buf,
- int errCode);
+ int fd,
+ int len,
+ void* buf,
+ int errCode);
/*
* Asynchronous procedure calls executed by a worker thread
@@ -43,16 +43,16 @@ typedef int (*DoProcProc)(void *param);
typedef union workData {
struct {
- int fd;
- int len;
- char *buf;
+ int fd;
+ int len;
+ char *buf;
} ioData;
struct {
- int usecs;
+ int usecs;
} delayData;
struct {
- DoProcProc proc;
- void* param;
+ DoProcProc proc;
+ void* param;
} procData;
} WorkData;
@@ -89,18 +89,18 @@ extern void ShutdownIOManager ( rtsBool wait_threads );
* will invoke upon completion.
*/
extern int AddDelayRequest ( unsigned int usecs,
- CompletionProc onCompletion);
+ CompletionProc onCompletion);
extern int AddIORequest ( int fd,
- BOOL forWriting,
- BOOL isSocket,
- int len,
- char* buffer,
- CompletionProc onCompletion);
+ BOOL forWriting,
+ BOOL isSocket,
+ int len,
+ char* buffer,
+ CompletionProc onCompletion);
extern int AddProcRequest ( void* proc,
- void* data,
- CompletionProc onCompletion);
+ void* data,
+ CompletionProc onCompletion);
extern void abandonWorkRequest ( int reqID );
More information about the ghc-commits
mailing list