Can you have multiple threads in PHP?
Posted: Tue Aug 15, 2006 8:01 pm
Can you create multiple threads in php?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
That was a little verbose. I thinkfeyd wrote:Nope.
Probably, but since I knew what the answer would be before opening the thread, I had to consider the breviloquence of such a message. Based on this conundrum, I chose the more grandiloquent, while still inherently specific and finite .. phrase.sweatje wrote:That was a little verbose. I think
No.
would have sufficed.
Things to do...feyd wrote:Probably, but since I knew what the answer would be before opening the thread, I had to consider the breviloquence of such a message. Based on this conundrum, I chose the more grandiloquent, while still inherently specific and finite .. phrase.sweatje wrote:That was a little verbose. I think
No.
would have sufficed.
Heh, how does it feel to be in my shoes?Things to do...
Look up breviloquence
Look up conundrum
Look up grandiloquent
Egg my English teachers house for not teaching me those words
PHP Supports traditional Unix multitasking by allowing a process to spawn child processes via pcntl_fork()...
I appreciated your messages affability. It had an air of congeniality, without the aloof connotations of the more concise version. Even in your subsequent repartee, you had no need to resort to truly sesquipedalian vocabulary. You definitely have the penultimate vocabulary on PHPDNfeyd wrote:Probably, but since I knew what the answer would be before opening the thread, I had to consider the breviloquence of such a message. Based on this conundrum, I chose the more grandiloquent, while still inherently specific and finite .. phrase.sweatje wrote:That was a little verbose. I think
No.
would have sufficed.

Wow... I hadn't noticed it says Ukraine in your location. Your (bulletin board) english is indistiguishable from the rest of the regular posters here.Weirdan wrote:To understand 'breviloquence' I had first to lookup this term in the wikipedia and then use multitran.ru to translate the definition to Russian.
Everah wrote:Short threads. Nice.
Weirdan wrote:No Everah, in php you can't create even short threads
looll.... R-O-T-F-F-L!Everah wrote:!?!?!?!??!?!?!?
I feel so am stoopid.
For more information on threads and process visit http://en.wikipedia.org/wiki/MultithreadingA process is the "heaviest" unit of kernel scheduling. Processes own resources allocated by the operating system. Resources include memory, file handles, sockets, device handles, and windows. Processes do not share address spaces or file resources except through explicit methods such as inheriting file handles or shared memory segments, or mapping the same file in a shared way. Processes are typically pre-emptively multitasked. However, Windows 3.1 and older versions of Mac OS used co-operative or non-preemptive multitasking.
A thread is the "lightest" unit of kernel scheduling. At least one thread exists within each process. If multiple threads can exist within a process, then they share the same memory and file resources. Threads are pre-emptively multitasked if the operating system's process scheduler is pre-emptive. Threads do not own resources except for a stack and a copy of the registers including the program counter.