mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
Remove WFTaskFactory::release_guard() with default NULL message.
This commit is contained in:
@@ -344,18 +344,8 @@ public:
|
||||
/* The 'guard' is acquired after started, so call 'release_guard' after
|
||||
and only after the task is finished, typically in its callback.
|
||||
The function returns 1 if another is signaled, otherwise returns 0. */
|
||||
static int release_guard(const std::string& resource_name)
|
||||
{
|
||||
return WFTaskFactory::release_guard(resource_name, NULL);
|
||||
}
|
||||
|
||||
static int release_guard(const std::string& resource_name, void *msg);
|
||||
|
||||
static int release_guard_safe(const std::string& resource_name)
|
||||
{
|
||||
return WFTaskFactory::release_guard_safe(resource_name, NULL);
|
||||
}
|
||||
|
||||
static int release_guard_safe(const std::string& resource_name, void *msg);
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user