elfring opened a new issue, #2103:
URL: https://github.com/apache/brpc/issues/2103

   Would you like to add more error handling for return values from functions 
like the following?
   * 
[atexit](https://pubs.opengroup.org/onlinepubs/9699919799/functions/atexit.html 
"Register a function to run at process termination") ⇒ 
[make_thread_atexit_key](https://github.com/apache/brpc/blob/ced4c70404a7ea46451a895e06240636914c92ac/src/butil/thread_local.cpp#L89)
   * 
[malloc](https://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html 
"Memory allocation") ⇒ 
[Arena::allocate_new_block](https://github.com/apache/brpc/blob/60159fc3f3e13490fb9806ea0a0cb0dcdbda7f7d/src/butil/arena.cpp#L66)
   * 
[pthread_mutex_init](https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_init.html
 "Initialize a mutex") ⇒ [InfoThread 
constructor](https://github.com/apache/brpc/blob/60159fc3f3e13490fb9806ea0a0cb0dcdbda7f7d/tools/rpc_replay/info_thread.cpp#L22)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to