TheTime Posted October 23, 2013 Report Posted October 23, 2013 ^ time out o saptamana, trebuie sa te gandesti serios ce este si ce nu este amuzant. Quote
ringo95 Posted October 24, 2013 Report Posted October 24, 2013 (edited) https://www.youtube.com/watch?v=9kxu3aQfHDshttp://www.youtube.com/watch?v=rZx-KyvJuDc Edited October 24, 2013 by ringo95 Quote
bodostyle Posted October 24, 2013 Report Posted October 24, 2013 Cheloo feat Fuego : Tu-ti impodobitu’ ma-tii !Ehhh..aveam un coleg in liceu ,il chema dicu catalin,ce mai radeam de ma spargeam cand era strigat invers... Quote
Marius3D Posted October 26, 2013 Report Posted October 26, 2013 Mi-a trimis un prieten un link de pe bash ))deya deea: iesi vecine prin centru mai pe dupa amiaza?adrian bloc: nu ies ca e unchimiu la mine si il ajut cu cevadeya deea: pai nu ai zis ca a venit ieri nicu la tine? deya deea: ce cauta si azi?adrian bloc: nu unchimiu nicu madeya deea: da care?adrian bloc: ala de ti am zis ca i am baut slobozu din greseala cand eram micdeya deea: looool bashed nebunule Quote
ringo95 Posted October 26, 2013 Report Posted October 26, 2013 https://www.facebook.com/photo.php?fbid=510916892338643&set=a.510916719005327.1073741834.100002610098948&type=1&relevant_count=6&ref=nfhttps://www.facebook.com/photo.php?fbid=371979286267204&set=a.190430881088713.46601.100003654072693&type=1&theater Quote
AlMalalah Posted October 28, 2013 Report Posted October 28, 2013 Exact asa face un prieten de-al meu ! Stie ca are un virus si fiindca nu stie cum sa scape de el isi tot acoperea camera cu hartie prinsa cu scuipat. Quote
eubest Posted October 28, 2013 Report Posted October 28, 2013 http://octavlarisa.files.wordpress.com/2011/08/fini-camel-balls.jpg Quote
ringo95 Posted October 29, 2013 Report Posted October 29, 2013 Poza de grup... 2013 pt album clasa a XII )R.I.P. Quote
malsploit Posted October 30, 2013 Report Posted October 30, 2013 (edited) http://www.facebook.com/photo.php?v=513803905330102http://www.facebook.com/photo.php?v=518980564812436 Edited October 30, 2013 by hate.me Quote
Tumbler Posted October 30, 2013 Report Posted October 30, 2013 Si iar a fost prins Isus in timp ce isi avea plimbarea zilnica cu Fecioara Maria:Google Earth Image Shows ‘Jesus’ And ‘Mary’ In Swiss Sky [PHOTO] Quote
M2G Posted October 31, 2013 Report Posted October 31, 2013 Lucrez la un tool si aveam un thread care proceseaza ceva comenzi. Pe un quad core acel thread facea ca un core sa fie ocupat tot timpul. => 25% usage in acel program chiar cand nu facea nimic.Problem solved:private: void beer() { usleep(10); } void run(){ while(!mStopRequested){ if(!mWorkerQueue.isEmpty()){ this->GetCommandOutput(mWorkerQueue.takeFirst()); } beer(); // save CPU time - the answer to all problems } } Quote
Nytro Posted October 31, 2013 Report Posted October 31, 2013 Lucrez la un tool si aveam un thread care proceseaza ceva comenzi. Pe un quad core acel thread facea ca un core sa fie ocupat tot timpul. => 25% usage in acel program chiar cand nu facea nimic.Problem solved:private: void beer() { usleep(10); } void run(){ while(!mStopRequested){ if(!mWorkerQueue.isEmpty()){ this->GetCommandOutput(mWorkerQueue.takeFirst()); } beer(); // save CPU time - the answer to all problems } }E mult prea mic intervalul, pune cel putin cateva milisecunde, nu microsecunde. E foarte posibil ca mecanismul de thread schedueling sa dureze mai mult (task switch-ul, salvarea registrilor si schimbarea pe un alt thread).De asemenea: usleep(3) - Linux man page[h=2]Errors[/h] EINTR Interrupted by a signal; see signal(7). EINVAL usec is not smaller than 1000000. (On systems where that is considered an error.) 4.3BSD, POSIX.1-2001. POSIX.1-2001 declares this function obsolete; use nanosleep(2) instead. POSIX.1-2008 removes the specification of usleep().Cel mai probabil system call-ul dureaza mai mult decat sleep-ul propriu-zis.Radem, glumim, dar suntem si seriosi Quote
G4b0r Posted October 31, 2013 Report Posted October 31, 2013 Profesoara: Alex iesi afara cu absenta !alex: http://images.cheezburger.com/completestore/2010/10/13/e3561c6a-3443-4e24-ae02-f91622862d26.gif Quote
M2G Posted October 31, 2013 Report Posted October 31, 2013 Nu stiu cum e implementat in interior dar asta e usleep din Qthread.void QThread::usleep ( unsigned long usecs ) [static protected]Causes the current thread to sleep for usecs microseconds.QtCore 5.0: QThread Class | Documentation | Qt Project Quote
vasile.dickulescu Posted October 31, 2013 Report Posted October 31, 2013 Why do Java developers wear glasses? Because they don't C#. Quote
Maximus Posted October 31, 2013 Report Posted October 31, 2013 https://www.facebook.com/photo.php?v=415119118599227&set=vb.384581841652955&type=2&theater Quote
alinh0 Posted October 31, 2013 Report Posted October 31, 2013 http://www.youtube.com/watch?v=FreAeZCecwY&feature=share Quote