add some debug-logs only signal another thread, when there is someone waiting
add some debug-logs
only signal another thread, when there is someone waiting


git-svn-id: cc913a7f7b4e3b8bac01cff72f0fc87362e4d502@795 8dd45c8f-be11-0410-86c3-e0da43b70fc1

maekitalo/tntnet,maekitalo/tntnet,maekitalo/tntnet,OlafRadicke/tntnet,OlafRadicke/tntnet,OlafRadicke/tntnet,maekitalo/tntnet,maekitalo/tntnet,OlafRadicke/tntnet,maekitalo/tntnet,OlafRadicke/tntnet