Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [pht\Thread

Protect Your Website Today


PHP Manual || pht\Thread

(PECL pht >= 0.0.1)

pht\Thread::startStarts the new thread

Description

public pht\Thread::start ( void ) : void

This will cause a new thread to be spawned for the associated pht\Thread object, where its internal task queue will begin to be processed.

Parameters

This function has no parameters.

Return Values

No return value.

Examples

Example #1 Starting a new thread

<?php

use pht\Thread;

$thread = new Thread();

$thread->start();
$thread->join();



PHP Manual || pht\Thread