aboutsummaryrefslogtreecommitdiffhomepage
path: root/iothread.h
diff options
context:
space:
mode:
authorGravatar Łukasz Niemier <lukasz@niemier.pl>2012-11-18 11:23:22 +0100
committerGravatar Łukasz Niemier <lukasz@niemier.pl>2012-11-18 11:23:22 +0100
commit47df1ae40adecd0a02fc7dd06ab0745cb18c3fe0 (patch)
tree13bf3e8fdcae60fdfb5fa5e26c95818dc7a49790 /iothread.h
parentb79854ad1aa814d9d35d76a1929b4726fa4bffa5 (diff)
Remove trailing whitespaces and change tabs to spaces
Diffstat (limited to 'iothread.h')
-rw-r--r--iothread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/iothread.h b/iothread.h
index bca951ea..8ca10359 100644
--- a/iothread.h
+++ b/iothread.h
@@ -7,7 +7,7 @@
/**
Runs a command on a thread.
-
+
\param handler The function to execute on a background thread. Accepts an arbitrary context pointer, and returns an int, which is passed to the completionCallback.
\param completionCallback The function to execute on the main thread once the background thread is complete. Accepts an int (the return value of handler) and the context.
\param context A arbitary context pointer to pass to the handler and completion callback.
@@ -15,9 +15,9 @@
*/
int iothread_perform_base(int (*handler)(void *), void (*completionCallback)(void *, int), void *context);
-/**
+/**
Gets the fd on which to listen for completion callbacks.
-
+
\return A file descriptor on which to listen for completion callbacks.
*/
int iothread_port(void);