MCPcopy Create free account
hub / github.com/apache/brpc / handle_data

Function handle_data

test/bthread_id_unittest.cpp:350–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350int handle_data(bthread_id_t id, void* data, int error_code) {
351 EXPECT_EQ(EBADF, error_code);
352 ++*(int*)data;
353 EXPECT_EQ(0, bthread_id_unlock_and_destroy(id));
354 return 0;
355}
356
357TEST(BthreadIdTest, list_signal) {
358 bthread_id_list_t list;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected