1. A method for inter-thread communication in a multithread processor, wherein the method comprises: enabling inter-thread communication with a first thread processor and a second thread processor using a shared data storage; encountering a first software interrupt instruction at the first thread processor; interrupting the first thread processor based on the shared data storage and the encountered first software interrupt instruction; encountering a second software interrupt instruction at the first thread processor; and interrupting the second thread processor based on the shared data storage and the encountered second software interrupt instruction.