Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

THINK ABOUT YOUR EYES BLINKING

Name: Anonymous 2006-09-30 0:23

YOU ARE NOW BLINKING MANUALLY

Name: Anonymous 2006-10-01 0:04 (sage)

#include <eyes.h>
#include <breathing.h>
#include <4chan.h>
#include <time.h>

void blink();
int blink_thread();
int breathe_thread();

int main() {
 int error;
 pthread_t t;
 error = pthread_create(&t,NULL,breathe_thread,NULL);
 if(error != 0) {
  fprintf(stderr,"error creating thread (breathe_thread): %s",strerror(error));
 }
 error = pthread_create(&t,NULL,blink_thread,NULL);
 if(error != 0) {
  fprintf(stderr,"error creating thread (blink_thread): %s",strerror(error));
 }
 void *image;
 int time;
 while(1) {
  image=get_image_from_4chan();
  for(int i=0;i<6000;i++) {
   time=time();
   while(time==time());
  }
  post_on_4chan(image);
 }
 return 0;
}

int blink_thread() {
 while (1) {
  if(eyes_dry()) {
   blink();
  }
 }
}
int breathe_thread() {
 while(1) {
  breathe_in();
  breathe_out();
 }
}
void blink() {
 if(eyes_open()){
  close_eyes();
  open_eyes();
 }
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List