Skip to main content

Table 2 Description of message functions, internal functions, and user-defined functions used in Algorithm 1 and 2.

From: SWAP-Assembler: scalable and efficient genome assembly towards thousands of cores

Class

Function name

Function description

Message functions

Msg Lock(a, p)

Lock a in process p

 

Msg Unlock(a, p)

Unlock a in process p

 

Msg Read(a, p)

Fetch associated values of a

 

Msg Write(a, newa, p)

Update associated values of a with newa

 

Msg Locksuccess(a, R(a, b), p)

Send Locksuccess Message back to R(a, b)

 

Msg Lockfailed(a, R(a, b), p)

Send Lockfailed Message back to R(a, b)

 

Msg ReadBack(a, R(a, b), p)

Send associated value of a back to R(a, b)

 

Msg End()

Command to stop the service thread

Internal functions

proc(a)

Get process ID of a

 

trylock(a)

Lock a

 

unlock(a)

Unlock a

User-defined functions

GetSmallWorld( R(a, b) )

Get small world [a, b] from operation R(a, b)

 

Operation(a,b)

Compute the operation R(a, b)