NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/50788 (Pthread sigfaults on ARMv7 NetBSD5.1)



Synopsis: Pthread sigfaults on ARMv7 NetBSD5.1

State-Changed-From-To: open->closed
State-Changed-By: skrll%NetBSD.org@localhost
State-Changed-When: Tue, 09 Feb 2016 09:31:45 +0000
State-Changed-Why:
After adding the following I confirmed the program works on armv7 (cortex-a7)
$ diff -up pthread.c.orig pthread.c 
--- pthread.c.orig      2016-02-09 09:30:10.000000000 +0000
+++ pthread.c   2016-02-09 09:28:09.000000000 +0000
@@ -1,3 +1,10 @@
+#include <stdio.h>
+#include <pthread.h>
+
+
+#define PRINT_REPEAT 5
+#define NUM_THREADS 5
+
 void *PrintHello(void *threadid)
 {
    long tid, i;

The netbsd-5 branches are now no longer supported. Please use a newer branch.





Home | Main Index | Thread Index | Old Index