Profiling qt app: pthread_spin_init calls

  • Hi,

    I'm using Qt 5.02 (MinGW) to make a little board game. In order to get it to run faster, I ran it through Very Sleepy, and according to the results these are the three most called functions:


    This is very surprising to me, because I don't use any threads. The only thing I can think of, is my use of QVector and QSharedPointer that might do some locking/unlocking.

    I tried the same code on my Linux box (same hardware) and there I see that the results are significantly faster.

    Can anyone clue me in, why pthread function calls are being made?


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.