Remove WFTaskFactory::release_guard() with default NULL message.

This commit is contained in:
Xie Han
2024-12-26 03:26:43 +08:00
parent c8e87c4b99
commit 1c6eda95a5

View File

@@ -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: