Post contrassegnati da tag ‘php

15
mag
08

PHP Multithreading

Immagino che ai più le due parole del titolo suonino abbastanza male, in effetti php per sua natura non supporta i thread, il che è palesemente ovvio visto che è un linguaggio di scripting nato per fare tutt’altra cosa.

Avviene però che in certi casi, se per esempio avete fatto un algoritmo in php ma vi accorgete che avreste bisogno dei thread e non avete voglia di mettervi a riscrivere tutto, è proprio necessario un modo per implementarsi i thread.

Allora potremmo usare l’operazione asincrona più naturale che il linguaggio ci fornisce, una richiesta asincrona a una pagina web. Continua a leggere ‘PHP Multithreading’




Difendi Rebeldia!

Aggiungi ai tuoi feed

 RSS Feed
Add to Google
Add to My Yahoo!
Add to Technorati Favorites!
Add to netvibes

Blog Stats

  • 233,216 hits

Pidduisti on-line

hit counters


Made on a Mac
Last.fm
Giveaway of the Day
highlightInterests("ProfileMusica");
Musicatable.lfmWidget8f0839bdbf919d97305135788e54986d td {margin:0 !important;padding:0 !important;border:0 !important;}table.lfmWidget8f0839bdbf919d97305135788e54986d tr.lfmHead a:hover {background:url(http://cdn.last.fm/widgets/images/en/header/chart/weeklytracks_regular_blue.png) no-repeat 0 0 !important;}table.lfmWidget8f0839bdbf919d97305135788e54986d tr.lfmEmbed object {float:left;}table.lfmWidget8f0839bdbf919d97305135788e54986d tr.lfmFoot td.lfmConfig a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat 0px 0 !important;;}table.lfmWidget8f0839bdbf919d97305135788e54986d tr.lfmFoot td.lfmView a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -85px 0 !important;}table.lfmWidget8f0839bdbf919d97305135788e54986d tr.lfmFoot td.lfmPopup a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -159px 0 !important;}

pages

maggio: 2013
L M M G V S D
« lug    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Iscriviti

Ricevi al tuo indirizzo email tutti i nuovi post del sito.