Changeset 440 for trunk/libs/mini-libpthread
- Timestamp:
- May 3, 2018, 5:51:22 PM (7 years ago)
- Location:
- trunk/libs/mini-libpthread
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/mini-libpthread/Makefile
r439 r440 34 34 build/lib/libpthread.a: build $(OBJS) 35 35 $(AR) rc $@ $(OBJS) $(OBJS_LIBC) 36 ranlib$@36 $(RANLIB) $@ 37 37 cp $(SRCS:.c=.h) $(HAL)/generic/hal_user.h $(KERNEL)/syscalls/shared_syscalls.h build/include/. 38 38 -
trunk/libs/mini-libpthread/pthread.c
r439 r440 2 2 * pthread.c - User side pthread related functions implementation. 3 3 * 4 * Author Alain Greiner (2016,2017 )4 * Author Alain Greiner (2016,2017,2018) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 113 113 114 114 #if PTHREAD_BARRIER_DEBUG 115 printf("\n[BARRIER] %s : sqt_node[%d][%d][%d] : arity = %d / parent =%x\n"116 " child0 = %x / child1 = %x / child2 = %x / child3 =%x\n",117 __FUNCTION__, x, y, level, node->arity, node ->parent,115 printf("\n[BARRIER] %s : sqt_node[%d][%d][%d] / arity %d / desc %x\n" 116 "parent %x / child0 %x / child1 %x / child2 %x / child3 %x\n", 117 __FUNCTION__, x, y, level, node->arity, node, node->parent, 118 118 node->child[0], node->child[1], node->child[2], node->child[3] ); 119 119 #endif … … 159 159 160 160 #if PTHREAD_BARRIER_DEBUG 161 printf("\n[BARRIER] %s : sqt_node[%d][%d][%d] : arity = %d / parent =%x\n"162 " child0 = %x / child1 = %x / child2 = %x / child3 =%x\n",163 __FUNCTION__, x, y, level, node->arity, node ->parent,161 printf("\n[BARRIER] %s : sqt_node[%d][%d][%d] / arity %d / desc %x\n" 162 "parent %x / child0 %x / child1 %x / child2 %x / child3 %x\n", 163 __FUNCTION__, x, y, level, node->arity, node, node->parent, 164 164 node->child[0], node->child[1], node->child[2], node->child[3] ); 165 165 #endif … … 250 250 barrier->node[x][y][l] = node; 251 251 252 #if PTHREAD_BARRIER_DEBUG253 printf("\n[BARRIER] %s : sqt_node[%d][%d][%d] : vaddr = %x\n",254 __FUNCTION__ , x , y , l , node );255 #endif256 252 } 257 253 }
Note: See TracChangeset
for help on using the changeset viewer.