Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ JobQueue
Method
JobQueue
src/thread_pool.cc:18–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
17
18
JobQueue::JobQueue(size_t maximum_size)
19
: _maximum_size(maximum_size)
20
, _request_end(false)
21
{
22
}
23
24
JobQueue::~JobQueue() {
25
close();
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected