Skip to content
Commit 73c10a26 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

examples/ostest: Works around a bug in printf() when cancellation points are...

examples/ostest:  Works around a bug in printf() when cancellation points are enabled.  printf() is a cancellation point because it calls write().  This is correct according to OpenGroup.org.  However, printf holds the stdio library semaphore when it is canceled and this leaves the semaphore in a bad state.  No fix for the printf bug yet.
parent ae411223
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment