Silverfrost Logo About Us | Contact Us
 

START_THREAD@

Platform

x64, Win32

Purpose

To start a new thread.

Syntax

INTEGER(7) START_THREAD@(SUB, PARAM)
INTEGER(7) PARAM
INTERFACE
  SUBROUTINE SUB(ARG)
  INTEGER ARG
  END SUBROUTINE
END INTERFACE

Description

START_THREAD@ starts SUB on a new thread and passes the argument PARAM to it as the value of ARG.

Return value

START_THREAD@ returns the Microsoft thread handle for the new thread.

See also

WAIT_FOR_THREAD@, LOCK@, UNLOCK@.

 

 

Copyright © 1999-2017 Silverfrost Limited