RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Wimp_StartTask

WindowManager
» SWI Calls
» Wimp_StartTask

Wimp_StartTask

(SWI &400DE)
Entry
R0 Pointer to *command string
Exit
R0 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 September 24, 2017 14:48:00 by Lee Noar (2750)? (2.220.237.221)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: WindowManager SWI Calls, Service_StartWimp, *WimpTask, *Desktop_, *TaskWindow, *Filer_Action, *Desktop, *WimpVisualFlags, TaskWindow_NewTask, Service_StartFiler, Configure, TaskManager_StartTask, *StartDesktopTask

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 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