Bug #620

Weird usage of mutex in particle system loader.

Added by kaetemi about 9 years ago. Updated over 6 years ago.

Status:Rejected Start date:06/17/2009
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:-
Target version:-

Description

In particle_system_shape.cpp the following can be found twice inside a function, at lines 231 and 400:


    NLMISC::CMutex mutex;
    mutex.enter();

    // ...

    mutex.leave();


So, it enters a mutex that's created locally on the stack. Which, to my understanding, doesn't really do anything? ...

History

#1 Updated by kervala almost 8 years ago

  • Project changed from NeL to Ryzom
  • Category deleted (3d)

#2 Updated by kervala almost 8 years ago

  • Status changed from New to Rejected

If it works it shouldn't be changed excepted if you noticed a bug about that :)

#3 Updated by kaetemi about 7 years ago

It works because it doesn't do anything at all.

#4 Updated by kaetemi over 6 years ago

  • % Done changed from 0 to 100

Fixed it anyway.

Also available in: Atom PDF