summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-10-11 22:59:01 +0700
committerfadhil riyanto <me@fadev.org>2024-10-11 22:59:01 +0700
commit4d8ffe7f825dfd5be42b7348f8d52224b703a615 (patch)
treee49f6b4c65b1edb8cba097661a06135fc1f26d84 /test
parentf24010d183852deb2d21045d943b600ba5447666 (diff)
test threadHEADmasterdomain
Diffstat (limited to 'test')
-rw-r--r--test/pthead_blocking.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/pthead_blocking.c b/test/pthead_blocking.c
new file mode 100644
index 0000000..18a6538
--- /dev/null
+++ b/test/pthead_blocking.c
@@ -0,0 +1,20 @@
+
+#include <pthread.h>
+#include <stdio.h>
+#include <time.h>
+
+static void* a(void* aa) {
+
+}
+
+
+
+int main()
+{
+ pthread_t abc;
+ pthread_create(&abc, NULL, a, NULL);
+
+ printf("ok\n");
+ pthread_join(abc, NULL);
+ printf("will i printed?\n");
+} \ No newline at end of file