Module wpool_utils

Common functions for wpool_process and wpool_fsm_process modules.

Authors: Felipe Ripoll (ferigis@gmail.com).

Description

Common functions for wpool_process and wpool_fsm_process modules.

Function Index

do_try/1
notify_queue_manager/3
task_end/1Removes the current task from the worker.
task_init/3Marks Task as started in this worker.

Function Details

do_try/1

do_try(Fun::function()) -> any()

notify_queue_manager/3

notify_queue_manager(Function::atom(), Name::atom(), Options::list()) -> ok | any()

task_end/1

task_end(TimerRef::undefined | reference()) -> ok

Removes the current task from the worker

task_init/3

task_init(Task::term(), TimeChecker::atom(), OverrunTime::infinity | pos_integer()) -> undefined | reference()

Marks Task as started in this worker


Generated by EDoc, Apr 3 2017, 11:16:15.