Main Page | Modules | Directories | File List | Globals | Related Pages

gm_alloc_send_token.c File Reference

#include "gm_call_trace.h"
#include "gm_internal.h"

Functions

GM_ENTRY_POINT int gm_alloc_send_token (gm_port_t *p, unsigned int priority)

Detailed Description


Function Documentation

GM_ENTRY_POINT int gm_alloc_send_token gm_port_t *  p,
unsigned int  priority
 

gm_alloc_send_token() allocates a send token of priority priority previously freed with gm_free_send_token() and returns 0 if no token is available. Clients may choose to maintain their own send token counts without using this utility function.

Return values:
send_token_cnt 
0 Error occurred.
Parameters:
p (IN) The GM port on the source/sender GM node from which the communication will be sent.
priority (IN) The priority of the message to be sent.
Author:
Glenn Brown
Version:
GM_API_VERSION (as defined in gm.h)


Generated on Sat May 20 19:20:40 2006 for GM by  doxygen 1.4.4