RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Wimp_StartTask

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_StartTask

Wimp_StartTask

(SWI &400DE)
Entry
R0 Pointer to *command string
Exit
R1 Task handle of child, or
0 if it has exited

Use

The purpose of this call is to create a new task and execute the given * command.

Notes

The SWI returns control when the new task exits, or calls Wimp_Poll.

This call can only be used from USR mode with an empty SVC stack, and only when it is the ‘live’ task. i.e gained control from Wimp_Initialise or Wimp_Poll.

It is not sufficient to drop from SVC mode into USR mode to call this SWI, and precludes starting taks from within:

  • Callbacks
  • Interrupts
  • Filters
  • SWIs
  • Vectors (events, etc…)
  • Any other system call mechanism

See also

  • Wimp_Initialise
  • Wimp_Poll
Revised on August 31, 2011 12:45:24 by Terje Slettebø (285)? (81.166.216.226)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager SWI Calls, Service_StartWimp, *Desktop, *Desktop_, *Filer_Action, *TaskWindow, *WimpTask, TaskWindow_NewTask, *WimpVisualFlags, Service_StartFiler

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
  • Export
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys