<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Gracias! Steven funcionó con las dos opciones para hilos pero haciendo un casting a i, así: (void *)i</p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">On Mar 31 Jul 2012 21:10:45 Steven Davidson escribió:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">> estado = pthread_create( &hilos[i], NULL, imprimir_hola_mundo, i ); </p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">estado = pthread_create( &hilos[i], NULL, imprimir_hola_mundo, (void *)i ); </p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Nuevamente gracias!</p>