| PHP » GoLang | login |
            register |
            
            about | 
| GoLang Worker::shutdown
                                request it (578)
                            GoLang replacement for PHP's Worker::shutdown
                            [edit | history] 
                             Worker::shutdown(PECL pthreads >= 2.0.0) Worker::shutdown — Shutdown the worker Description
   public bool Worker::shutdown
    ( void
   ) Shuts down the worker after executing all of the stacked tasks. ParametersThis function has no parameters. Return ValuesWhether the worker was successfully shutdown or not. Examples
 Example #1 Shutdown the referenced worker 
<?phpThe above example will output: bool(true) | 
                    more
                     Most requested
 
                    more
                     Last requests
 |