X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fcore%2Fthread%2Fmain.cpp;h=2f454d4c3e84d83930afb0419634bcc93319a02c;hp=145923b4252fc2404c6f01155d68fe93eef19287;hb=7ee10b64f4c116460ffef5784eb9ef87d3f2339c;hpb=1a1b334a0d2b023bd778f0a19665cc9017dbc94a diff --git a/example/core/thread/main.cpp b/example/core/thread/main.cpp index 145923b..2f454d4 100644 --- a/example/core/thread/main.cpp +++ b/example/core/thread/main.cpp @@ -254,7 +254,7 @@ void Waiter::notifyResponse (const int result) a_result = result; - write (a_pipe [WriteChannel], &byte, sizeof (byte)); + ssize_t r = write (a_pipe [WriteChannel], &byte, sizeof (byte)); } // Modela al thread que recibe la respuesta correspondiente a la peticiĆ³n por la