[PATCH] CodeSamples: count_stat_eventual.c should use pthread_t with pthread_create()

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

 



Signed-off-by: Elad Lahav <e2lahav@xxxxxxxxx>
---
 CodeSamples/count/count_stat_eventual.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CodeSamples/count/count_stat_eventual.c b/CodeSamples/count/count_stat_eventual.c
index 5179de9d..967644de 100644
--- a/CodeSamples/count/count_stat_eventual.c
+++ b/CodeSamples/count/count_stat_eventual.c
@@ -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) {
-- 
2.25.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux