Hey Stefan,

So I've moved to the 1.2.0 beta from your link above (but the following also
happens if i pull and build the 1.2.0 branch off github) and I am
encountering an issue but only in Windows 7 (same bit of code works fine in
OSX). 

Specifically, I send out the request packet in my QT app then call
waitRequest(uRequestId, uInitDataId).

The EQ app picks up the request and promptly answers.

The command handler on the QT app side triggers normally then calls
serveRequest(uRequestId, uInitDataId). And then, depending on whether I am
running in release mode or relwithdebinfo mode, it either crashes or
deadlocks inside serveRequest at the spinlock. 

(PS at this point i should mention that I can't get EQ
release/relwithdebinfo mode dlls to work in a VS2008 debug mode project but
that's a different issue).




> void RequestHandler::serveRequest( const uint32_t requestID, const
> uint128_t& result )
> {
>     Request* request = 0;
>     {
>         *ScopedMutex< SpinLock > mutex( _mutex );*
>         RequestHash::const_iterator i = _requests.find( requestID );
> 
>         if( i != _requests.end( ))
>             request = i->second;
>     }
>         
>     if( request )
>     {
> 
>         request->result.rUint128.low = result.low();
>         request->result.rUint128.high = result.high();
>         request->lock.unset();
>     }
> }
> 

Offending deadlocking line in bold.

Any insight on this would be grealty appreciated...

--
View this message in context: 
http://software.1713.n2.nabble.com/Affecting-Collage-objects-outside-an-Equalizer-application-tp7301888p7320979.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to