Next: Server side
Up: int pvm_get_worker_class_id (char
Previous: int pvm_get_worker_class_id (char
- Take the global variable which identifies the server task (its tid) and
send a message to the server.
- The message should contain
opcode GET_WORKER_CLASS_ID, farm name and the worker class name.
- Receive reply from the server
- Unpack the message and extract the return value.
- The return value (if nonnegative) will contain the worker class id
(wcid) or the error message PvmFarmNotCreated if the farm is not created by
the farmer prior to invoking this call.
- return the integer received from the server.
Sameer Shende