|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.multicorebsp.core.BSP_GLOBAL_COMM<T,S>
T
- Raw data type of global variable.S
- Class implementing BSP_GLOBAL_COMMpublic abstract class BSP_GLOBAL_COMM<T,S extends BSP_GLOBAL_COMM<?,?>>
Defines what functions should be implemented for global BSP variables.
Constructor Summary | |
---|---|
BSP_GLOBAL_COMM()
|
Method Summary | |
---|---|
abstract void |
bsp_direct_get(int pid)
Get instruction. |
abstract void |
bsp_direct_get(S source,
int pid)
Direct get instruction. |
abstract void |
bsp_get(int pid)
Get instruction. |
abstract void |
bsp_get(S source,
int pid)
Get instruction. |
abstract void |
bsp_move()
BSMP instruction. |
abstract void |
bsp_put(int pid)
Put instruction. |
abstract void |
bsp_put(S source,
int pid)
Put instruction. |
abstract void |
bsp_put(T source,
int pid)
Put instruction. |
abstract int |
bsp_qsize()
BSMP instruction. |
abstract void |
bsp_send(int pid)
Bulk-synchronous message passing (BSMP) instruction. |
abstract void |
bsp_send(S source,
int pid)
BSMP instruction. |
abstract void |
bsp_send(T source,
int pid)
BSMP instruction. |
abstract void |
unregister()
Removes all shared references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BSP_GLOBAL_COMM()
Method Detail |
---|
public abstract void bsp_put(int pid)
pid
- The destination processor.public abstract void bsp_put(S source, int pid)
source
- Source global variable.pid
- Destination processor.public abstract void bsp_put(T source, int pid)
source
- Source variable.pid
- Destination processor.public abstract void bsp_get(int pid)
pid
- From which processor to get its variable.public abstract void bsp_get(S source, int pid)
source
- From which global variable to get its contents.pid
- From which processor to get its variable.public abstract void bsp_direct_get(int pid)
pid
- From which processor to get its variable.public abstract void bsp_direct_get(S source, int pid)
source
- From which global variable to get its contents.pid
- From which processor to get its variable.public abstract void bsp_send(int pid)
pid
- The ID of the receiving thread.public abstract void bsp_send(S source, int pid)
source
- The object to send.pid
- The ID of the receiving thread.public abstract void bsp_send(T source, int pid)
source
- The object to send.pid
- The ID of the receiving thread.public abstract void bsp_move() throws EmptyQueueException
EmptyQueueException
public abstract int bsp_qsize()
public abstract void unregister()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |