MCPcopy Create free account
hub / github.com/a2flo/floor / has_work

Method has_work

compute/vulkan/vulkan_queue.cpp:104–106  ·  view source on GitHub ↗

returns true if there is any work that needs to be handled NOTE: requires holding "work_cv_lock"

Source from the content-addressed store, hash-verified

102 //! returns true if there is any work that needs to be handled
103 //! NOTE: requires holding "work_cv_lock"
104 bool has_work() {
105 return !work_queue.empty();
106 }
107
108 //! returns and removes the cmd from the front of the work queue
109 //! NOTE: requires holding "work_cv_lock"

Callers 1

runMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected