[Vm-dev] VM Maker: VMMaker.oscog-eem.2841.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 16 16:15:30 UTC 2020


Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2841.mcz

==================== Summary ====================

Name: VMMaker.oscog-eem.2841
Author: eem
Time: 16 October 2020, 9:15:22.163779 am
UUID: 31227c27-4474-4ae9-b408-3887c8387b7f
Ancestors: VMMaker.oscog-eem.2840

CameraPlugin: Answer a getter for the semaphoreIndex to allow for a convenient interrupt-driven waitForCameraStart: interface.

=============== Diff against VMMaker.oscog-eem.2840 ===============

Item was added:
+ ----- Method: CameraPlugin>>primGetCameraSemaphore (in category 'primitives') -----
+ primGetCameraSemaphore
+ 	"Answers the semaphoreIndex set through primSetCameraSemaphore.
+ 	 Fails if no semaphore has been set."
+ 
+ 	<export: true>
+ 	| cameraNum |
+ 	cameraNum := interpreterProxy stackIntegerValue: 0.
+ 	interpreterProxy failed ifFalse:
+ 		[(self CameraGetSemaphore: cameraNum)
+ 			ifNil: [interpreterProxy primitiveFail]
+ 			ifNotNil: [:index| interpreterProxy methodReturnInteger: index]]!



More information about the Vm-dev mailing list