Changeset 22423
- Timestamp:
- Feb 24, 2009, 8:35:55 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/gprint.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/gprint.c
r18426 r22423 153 153 if (streams[i][0].file == stream[0].file) Nmatch ++; 154 154 } 155 pthread_mutex_unlock (&init_stream_mutex);156 157 155 if (Nmatch == 0) { 156 // fprintf (stderr, "closed %x, opened %x (%s) -- thread %d\n", stream[0].file, file, stream[0].name, stream[0].thread); 158 157 fflush (stream[0].file); 159 158 fclose (stream[0].file); 160 159 } 161 162 160 stream[0].file = file; 161 pthread_mutex_unlock (&init_stream_mutex); 162 163 163 return; 164 164 }
Note:
See TracChangeset
for help on using the changeset viewer.
