Inter-thread communications between different components using double buffer
First Claim
Patent Images
1. A system for inter-thread communications, comprising:
- at least one thread from a first group of threads;
a first buffer for buffering a request from the at least one thread from the first group;
at least one thread from a second group of threads for performing an operation according to the request retrieved from the first buffer according to a predetermined criterion, the at least one thread from the first group of threads not being informed as to which of the second group of threads performs the operation; and
a second buffer for buffering a response with respect to the request, the response being generated by the at least one thread from the second group, the response being retrieved by a thread from the first group.
1 Assignment
0 Petitions
Accused Products
Abstract
An arrangement is provided for inter-thread communications. A first group of thread includes at least one thread. A thread from the first group buffers a request in a first buffer. A thread from a second group of thread retrieves the request buffered in the first buffer. The thread from the second group performs an operation based on the request and generates a response. The thread from the second group buffers the response in a second buffer. A thread from the first group of thread retrieves the response from the second buffer.
108 Citations
20 Claims
-
1. A system for inter-thread communications, comprising:
-
at least one thread from a first group of threads;
a first buffer for buffering a request from the at least one thread from the first group;
at least one thread from a second group of threads for performing an operation according to the request retrieved from the first buffer according to a predetermined criterion, the at least one thread from the first group of threads not being informed as to which of the second group of threads performs the operation; and
a second buffer for buffering a response with respect to the request, the response being generated by the at least one thread from the second group, the response being retrieved by a thread from the first group. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for inter-thread communications, comprising:
-
sending, by a thread from a first group of at least one thread, a request to a first buffer;
retrieving, by a thread from a second group of threads, the request from the first buffer according to a predetermined criterion;
processing the request by the thread from the second group of threads, the at least one from the first group of threads not being informed as to which of the second group of threads performs the operation;
sending, by the thread from the second group, a response with respect to the request to a second buffer after the processing; and
receiving, by a thread from the first group, the response from the second buffer according to a second predetermined criterion. - View Dependent Claims (8, 9, 10)
-
-
11. A computer-readable medium having program code stored therein for causing, when executed, inter-thread communications to occur comprising:
-
sending, by at least one thread from a first group of threads, a request to a first buffer;
retrieving, by a thread from a second group of threads, the request from the first buffer according to a predetermined criterion;
processing the request by the thread from the second group of threads, the at least one thread from the first group of threads not being informed as to which of the second group of threads perform the operation;
sending, by the thread from the second group, a response with respect to the request to a second buffer after the processing; and
receiving, by a thread from the first group of threads, the response from the second buffer according to a second predetermined criterion. - View Dependent Claims (12, 13, 14)
-
-
15. A system for inter-thread communications, comprising:
-
at least one thread from a first group of threads;
a first buffer for buffering a request from the at least one thread from the first group;
at least one thread from a second group of threads for performing an operation according to the request retrieved from the first buffer, each of the second group of threads examining the request to determine if said each of said second group of threads can process the request; and
a second buffer for buffering a response with respect to the request, the response being generated by the at least one thread from the second group, the response being retrieved by a thread from the first group. - View Dependent Claims (16)
-
-
17. A method for inter-thread communications, comprising:
-
sending, by a thread from a first group of threads, a request to a first buffer;
retrieving, by a thread from a second group of threads, the request from the first buffer according to a predetermined criterion, each of the second group of threads examining the request to determine if said each of said second group of threads can process the request;
processing the request by the thread from the second group of threads;
sending, by the thread from the second group, a response with respect to the request to a second buffer after the processing; and
receiving, by a thread from the first group, the response from the second buffer according to a second predetermined criterion. - View Dependent Claims (18)
-
-
19. A computer-readable medium encoded with a program of a thread for inter-communication, the program, when executed, causing:
-
sending, by a thread from a first group of threads, a request to a first buffer;
retrieving, by a thread from a second group of threads, the request from the first buffer according to a predetermined criterion, each of the second group of threads examining the request to determine if said each of said second group of threads can process the request;
processing the request by the thread from the second group of threads;
sending, by the thread from the second group, a response with respect to the request to a second buffer after the processing; and
receiving, by a thread from the first group, the response from the second buffer according to a second predetermined criterion. - View Dependent Claims (20)
-
Specification