protected boolean dispatchConnect ( ConnectInfo work ) { if ( work . getSyncObject ( ) != null ) { // user thread waiting for work work . getSyncObject ( ) . simpleNotify ( ) ; return true ; } // dispatch async work return dispatchWorker ( new Worker ( work ) ) ; }
This is the entry point where work is added to the connect work list . As a result a separate thread from the caller will do the work .