srand(time(NULL));
pthread_create(&s1, NULL, ejecuta_animal, "GNU");
pthread_detach(s1);
+ printf("Se lanzó thread %lu.\n", (unsigned long)s1);
pthread_create(&s2, NULL, ejecuta_animal, "Vaca");
pthread_detach(s2);
+ printf("Se lanzó thread %lu.\n", (unsigned long)s2);
pthread_create(&s3, NULL, ejecuta_animal, "Conejo");
pthread_detach(s3);
+ printf("Se lanzó thread %lu.\n", (unsigned long)s3);
pthread_exit(NULL);
return 0;