🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by VICTOR ROMANO Sun, 03 Mar 1985 00:08
Batch processing on Mac
#720
Author: VICTOR ROMANO
Date: Sun, 03 Mar 1985 00:08
8 lines
830 bytes

	Does anyone out there know how to post more than 19 events on
	the event queue on the Macintosh?  I'm particularly interested
	in creating a batch-like processor.  Even better:  does anyone
	know of some sort of batch facility on the Macintosh?  Thanks.

				Victor Romano
Re: Batch processing on Mac
#738
Author: Frederick Huxham
Date: Tue, 05 Mar 1985 01:52
19 lines
1258 bytes
> 
> 
> 	Does anyone out there know how to post more than 19 events on
> 	the event queue on the Macintosh?  I'm particularly interested
> 	in creating a batch-like processor.  Even better:  does anyone
> 	know of some sort of batch facility on the Macintosh?  Thanks.


Using the OS Event Manager you should be able to post 30 events on the queue.

First call   FlushEvents(eventMask,stopMask:integer)    to clear the queue.

Then do 30 PostEvent(eventCode:integer;  eventMsg:longint): OSErr

That should do it.  If you wanted more that 30 events, you could probably
store them in your own queue and then when space permitted, post them to
the event queue.

Fred A. Huxham
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads