CodeSamples: count_stat_eventual.c should use pthread_t with pthread_create()
PATCH 1/1 CodeSamples: count_stat_eventual.c should use pthread_t with pthread_create()
Signed-off-by Elad Lahav <[email protected]>
--- CodeSamples/count/count_stat_eventual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
CodeSamples/count/count_stat_eventual.c +1 -1
@@ -61,7 +61,7 @@ void *eventual(void *arg) //\lnlbl{eventual:b}void count_init (void )//\lnlbl{init:b} {int en; -thread_id_t tid; +pthread_t tid; en =pthread_create (&tid,NULL , eventual,NULL );if (en !=0 ) {
Signature · 1 line
2.25.1
Paul E. McKenney
AppliedQuoted 1 line · Elad Lahav
Signed-off-by Elad Lahav <[email protected]>
Queued and pushed, thank you!
Thanx, Paul
Quoted 20 lines
--- CodeSamples/count/count_stat_eventual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)CodeSamples/count/count_stat_eventual.c +1
-1@@ -61,7 +61,7 @@ void *eventual(void *arg) //\lnlbl{eventual:b}void count_init (void )//\lnlbl{init:b} {int en; -thread_id_t tid; +pthread_t tid; en =pthread_create (&tid,NULL , eventual,NULL );if (en !=0 ) {Signature · 1 line
2.25.1