Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
add missing methods
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Nov 2, 2020
1 parent 6d165cb commit e27a5d3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/ThreadedFFI/TFMainThreadRunner.class.st
Expand Up @@ -24,6 +24,13 @@ TFMainThreadRunner >> doInitialize [
handle := MainThreadHandle
]

{ #category : #executing }
TFMainThreadRunner >> executeFunction: aTFExternalFunction withArguments: arguments usingSemaphore: anInteger [
<primitive: 'primitiveWorkerCallout' error: ec>

self primitiveFailed
]

{ #category : #private }
TFMainThreadRunner >> primitivePerformWorkerCall: aTFExternalFunction withArguments: argumentHolder withReturnHolder: aReturnHolder usingSemaphore: anInteger [

Expand All @@ -32,6 +39,13 @@ TFMainThreadRunner >> primitivePerformWorkerCall: aTFExternalFunction withArgume
^ self primitiveFailed
]

{ #category : #executing }
TFMainThreadRunner >> readReturnValueFromTask: anExternalAddress [
<primitive: 'primitiveWorkerExtractReturnValue' error: ec>

self primitiveFailed
]

{ #category : #private }
TFMainThreadRunner >> workerAddress [

Expand Down

0 comments on commit e27a5d3

Please sign in to comment.