Skip to content

Commit e93c204

Browse files
author
Justin Jack
committed
markdown update
1 parent 98b1647 commit e93c204

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ I designed this library because I wanted to write a high-performance WebSocket s
99

1010
For you more technical folks, this library isn't temporally impeded by the need to use "ticks." That's part of what makes it so fast. The library uses signals (e.g. SIGUSR1 and SIGUSR2) internally to interrupt the execution and switch context very fluidly. Yes, we're hogging SIGUSR1 and 2, so if your project is using those signals, consider using `phpthread_send_message()` to a designated message handler function (see: examples/messages1.php and examples/messages2.php). It should completely suit your purpose.
1111

12-
There are examples you can run in the "examples" directory. Feel free to place a shebang for easy execution, or run them by prefixing them with `php <filename>`.
12+
There are examples you can run in the "examples" directory. Feel free to place a shebang for easy execution, or run them by prefixing them with `php <filename>`. I haven't completed them all yet, but I have finished a good number of them. At least enough to get a good understanding of the capabilities.
1313

1414
### Dependencies
1515
PHPThreads requires the following PHP extensions:
1616
- posix
1717
- sockets
1818
- pcntl
1919

20-
## Quick and dirty example!
20+
## Quick and dirty example:
2121

2222
```
2323
<?php
@@ -37,7 +37,7 @@ function thread_proc( $thread,
3737
'seconds_alive'=>$i,
3838
'lucky_number'=>rand(0, 10000)
3939
);
40-
40+
4141
echo "\n\t[PHPTHREAD] - I'm returning this:\n";
4242
print_r($myobj);
4343
echo "\n";

0 commit comments

Comments
 (0)