The invention relates to a method for
processing business application through multiple threads. The method simply includes the steps of creating a business scheduling thread, creating an activation circulating business drive thread, registering a scheduling state detection task, starting a default or assigned
processing thread number for business
processing types, distributing a lockless
queue for each business processing thread, selecting the business processing thread which is not busy relatively, obtaining business processing information from the lockless
queue of the selected business processing thread for processing, setting the reference count of a data area in the business processing information to be zero through the business processing thread, and feeding back the information when the business scheduling thread receives the information indicating that processing is finished. The method has the advantages that according to current processing capacity, the concurrence number of the threads is controlled, unnecessary
memory copy is reduced, use of a
system lock is reduced, new business processing types can be added in the running period, business expansibility of a
system is improved,
system operation efficiency is improved,
resource utilization flexibility of the system is improved, and the
development period of the business system is shortened.