September 26th, 2011, 10:29 AM
thanks Paul
your version looks neat and well written
i haven't studied much the algorithms, just how the sort() and shuffling works.
September 26th, 2011, 07:00 AM
yes, i do not insert elements into vectors or containers of alien threads.
the Clients* instance is used for the MYSQL login process of the clients.
.erase( ) is called on the same thread. all i...
September 26th, 2011, 04:40 AM
heres some clue about the life-cycle of the Clients* object
CTCPSocket *NewSocket = pdcc->m_CTCPS->Accept( (fd_set *)&fd );
if( NewSocket )
{
NewSocket->NoDelay(true);...
September 25th, 2011, 02:27 PM
i think you didn't pay attention at all at the code.
i do not use the object instance without checking if First : object instance not null
if( !foo )
return false;
which works 100%
September 24th, 2011, 06:37 PM
Like you can see in the function, the instance of that class is never ever used/referred/dereferred if the flag DeleteMe is set because every time we wanna see or change data or anything on that...
September 24th, 2011, 12:59 PM
I use multiple threads for mysql operations such as inserting rows, updating rows, deleting rows etc.
i am aware of synchronization methods such as mutexes. i use boost::thread mutexes.
but i'm...
September 24th, 2011, 08:52 AM
Hi, i have a very weird fatal exception happening very rarely on my application (compiled under gcc - Ubuntu linux)
it seems that this this function :
bool GetConnect( ) {return m_Connected;}...