aboutsummaryrefslogtreecommitdiffstats
path: root/src/zix
diff options
context:
space:
mode:
Diffstat (limited to 'src/zix')
-rw-r--r--src/zix/sem.h4
-rw-r--r--src/zix/thread.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/zix/sem.h b/src/zix/sem.h
index 72c7d8d..6a6dc8e 100644
--- a/src/zix/sem.h
+++ b/src/zix/sem.h
@@ -59,13 +59,13 @@ extern "C" {
typedef struct ZixSemImpl ZixSem;
/**
- Create and initialize @c sem to @c initial.
+ Create and initialize `sem` to `initial`.
*/
static inline ZixStatus
zix_sem_init(ZixSem* sem, unsigned initial);
/**
- Destroy @c sem.
+ Destroy `sem`.
*/
static inline void
zix_sem_destroy(ZixSem* sem);
diff --git a/src/zix/thread.h b/src/zix/thread.h
index ff5a727..b007efa 100644
--- a/src/zix/thread.h
+++ b/src/zix/thread.h
@@ -1,5 +1,5 @@
/*
- Copyright 2012 David Robillard <http://drobilla.net>
+ Copyright 2012-2014 David Robillard <http://drobilla.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -46,9 +46,9 @@ typedef pthread_t ZixThread;
#endif
/**
- Initialize @c thread to a new thread.
+ Initialize `thread` to a new thread.
- The thread will immediately be launched, calling @c function with @c arg
+ The thread will immediately be launched, calling `function` with `arg`
as the only parameter.
*/
static inline ZixStatus
@@ -58,7 +58,7 @@ zix_thread_create(ZixThread* thread,
void* arg);
/**
- Join @c thread (block until @c thread exits).
+ Join `thread` (block until `thread` exits).
*/
static inline ZixStatus
zix_thread_join(ZixThread thread, void** retval);