summaryrefslogtreecommitdiff
path: root/create.c
diff options
context:
space:
mode:
authorbje <bje>1998-07-09 13:14:50 +0000
committerbje <bje>1998-07-09 13:14:50 +0000
commit14e119d3c0ff2443112bca685ab52f1ad7f8fe8c (patch)
tree4ddb1ca211b70d4ef3a82fc470ac40fefeeaa02a /create.c
parent34d778deccc6dfe23e5b969935749c261f9a8408 (diff)
1998-07-09 Ben Elliston <bje@cygnus.com>
* create.c (pthread_create): A dummy stub right now.
Diffstat (limited to 'create.c')
-rw-r--r--create.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/create.c b/create.c
new file mode 100644
index 0000000..978e011
--- /dev/null
+++ b/create.c
@@ -0,0 +1,17 @@
+/*
+ * create.c
+ *
+ * Description:
+ * This translation unit implements routines associated with spawning a new
+ * thread.
+ */
+
+#include "pthread.h"
+
+int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
+ void * (*start_routine) (void *), void * arg)
+{
+ /* Call Win32 CreateThread.
+ Map attributes as correctly as possible.
+ */
+}