Partage
  • Partager sur Facebook
  • Partager sur Twitter

is it possible to create thread in nodeJS???

nodeJS

    15 février 2015 à 18:45:34

    hello
    i want to create a thread with nodeJs but i didn't find any document to help me.just i find that nodeJs didn't support multiThreading
    help me please
    • Partager sur Facebook
    • Partager sur Twitter
      17 février 2015 à 14:19:13

      Hello,

      Node.js is monothread by essence as far as I know. You don't use threads, you use its event system to fire functions when necessary (when data is available for instance). This is a good alternative to multithreading.

      What are you trying to achieve?

      • Partager sur Facebook
      • Partager sur Twitter

      If you'd like to join us, read "How do we work at OpenClassrooms"! :)

      is it possible to create thread in nodeJS???

      × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
      × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
      • Editeur
      • Markdown