Module wpool_worker

Default instance for wpool_process

Behaviours: gen_server.

Description

Default instance for wpool_process

It is a module that implements a very simple RPC-like interface.

Data Types

state()

abstract datatype: state()

Function Index

call/4Returns the result of M:F(A) from any of the workers of the pool S.
cast/4Executes M:F(A) in any of the workers of the pool S.

Function Details

call/4

call(S::wpool:name(), M::module(), F::atom(), A::[term()]) -> term()

Returns the result of M:F(A) from any of the workers of the pool S

cast/4

cast(S::wpool:name(), M::module(), F::atom(), A::[term()]) -> ok

Executes M:F(A) in any of the workers of the pool S


Generated by EDoc