[email protected] wrote:
Folks,
This is the code review for 11854, which places a lock around the
external interfaces to the transport.  Callers that call transport
methods will now find themselves serialized against this lock.  This
should prevent multi-threaded applications that are unable to manage
their own calls into the transport from crashing because two threads
simultaneously try to call the engine's run (perform) method.

        http://cr.opensolaris.org/~johansen/webrev-11854/

Seems right to me.

I know it isn't thrilling to have the transport do this, but it should simplify the life of api consumers.

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to