Changeset 619 for trunk/libs/libpthread
- Timestamp:
- Feb 12, 2019, 1:15:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/libpthread/pthread.c
r609 r619 2 2 * pthread.c - User level <pthread> library implementation. 3 3 * 4 * Author Alain Greiner (2016,2017,2018 )4 * Author Alain Greiner (2016,2017,2018,2019) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 202 202 unsigned int count ) 203 203 { 204 if ( attr )205 {206 printf("[ERROR] in %s ; <attr> argument must be NULL\n", __FUNCTION__ );207 return -1;208 }209 210 204 return hal_user_syscall( SYS_BARRIER, 211 205 (reg_t)barrier, 212 206 BARRIER_INIT, 213 207 (reg_t)count, 214 0);208 (reg_t)attr ); 215 209 } 216 210 … … 362 356 } 363 357 364 // check attributes 358 // check attributes / count 365 359 if( (x_size * y_size * nthreads) != count ) 366 360 {
Note: See TracChangeset
for help on using the changeset viewer.