Skip to content

ekoeppen/NOSSampler

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This is an example project for NewtonOS tasks and memory management

Notes:

  • Deleting a TUAsyncMessage which was sent prior to it being received will cause a -10015 error (invalid object ID). To investigate further: either use RPC to delete the message once it has been received, check the usage of kMsgType_Collected... flags, or use Receive which uses TUAsyncMessage
  • Resending a TUAsyncMessage will cause a -10017 error (message already posted) if it has not been received in the meantime
  • Receive with a TUAsyncMessage paramter is asynchronous
  • When sending a TUAsyncMessage, the content parameter cannot be deleted or go out of scope before the message is received
  • TUPort::Send with a TUAsyncMessage parameter is a convenience function which copies the data to be sent into the fMsg instance variable of the message

About

Newton OS concepts sampler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages