A method for realizing multi-thread exclusive operation, and the chip means

Embodiments of the present invention provides a method for realizing multi-thread exclusive operation, and the chip means, by distributing a plurality of lock members on the chip, each lock management request message and releases the lock of different small nuclear release lock request message, and then be able to solve the congestion problem occurs when an increase in the number of threads, to improve the speed of execution thread collaboration. The method comprising: receiving a lock message sent by a small core, the lock message carrying lock memory address corresponding to the small core of the first thread request, wherein the lock message is an application message or a release lock message lock; using the lock request in the request memory address calculation numbered latch member lock belongs; sending to the corresponding number of the latch member lock message, requesting the lock member locks the message is processed. The present invention is applicable to the field of computer.