コード例 #1
0
ファイル: connpool.cpp プロジェクト: hnlshzx/mongo
void DBConnectionPool::release(const string& host, DBClientBase *c) {
    onRelease(c);

    scoped_lock L(_mutex);
    _pools[PoolKey(host,c->getSoTimeout())].done(this,c);
}
コード例 #2
0
void ofxSimpleGuiComboBox::onReleaseOutside(int x, int y, int button) {
	onRelease(x, y, button);
}
コード例 #3
0
CallbackAttachedResponse Button::onRelease(uint16_t wait, ButtonOnEventCallback callback){
	
	return onRelease(wait, -1, callback);
}
コード例 #4
0
CallbackAttachedResponse Button::onRelease(ButtonOnEventCallback callback){
	
	return onRelease(0, callback);
}
コード例 #5
0
ファイル: ofxSimpleGuiToggle.cpp プロジェクト: MrMdR/julapy
void ofxSimpleGuiToggle::keyReleased( int key ) {
	if(key==keyboardShortcut) onRelease(0, 0, 0);
}