src/libYARP_matlab/src/global.cpp
int porter (void *params)
{
	_dispatchParams& par = *(_dispatchParams *)params;
	if (par._portname == NULL || 
		par._extra_content == NULL)
		return -1;

	YARPPort::Connect (par._portname, par._extra_content);

	return 0;
}
///
///
/// risky if doesn't return from porter. Matlab hangs.
risky if doesn't return from porter. Matlab hangs.
risky if doesn ' t return from porter . Matlab hangs .
int porter (void *params)
{
	_dispatchParams& par = *(_dispatchParams *)params;
	if (par._portname == NULL || 
		par._extra_content == NULL)
		return -1;
	YARPPort::Connect (par._portname, par._extra_content);
	return 0;
}
int porter ( void * params ) { _dispatchParams & par = * ( _dispatchParams * ) params ; if ( par . _portname == NULL || par . _extra_content == NULL ) return -1 ; YARPPort :: Connect ( par . _portname , par . _extra_content ) ; return 0 ; }
risky if doesn't return from porter.
risky if doesn ' t return from porter .