#ifndef __CTHREAD #define __CTHREAD #ifndef EXTERNALPROTO #ifdef _WINDOWS typedef void *CThread_thread_t; typedef DWORD CThread_func_return_t; typedef LPVOID CThread_func_arg_t; typedef CRITICAL_SECTION CThread_mutex_t; typedef HANDLE EVENT; typedef DWORD EVENT_TIME; #else typedef struct { pthread_mutex_t mutex; pthread_cond_t condition; int ready_to_go; } UNIX_EVENT; typedef unsigned long EVENT_TIME; typedef UNIX_EVENT EVENT; typedef pthread_t CThread_thread_t; typedef void *CThread_func_return_t; typedef void *CThread_func_arg_t; typedef pthread_mutex_t CThread_mutex_t; #endif typedef CThread_func_return_t(* CThread_func_t)(CThread_func_arg_t); typedef struct { CThread_thread_t m_ThreadHandle; unsigned long m_ThreadIdentifier; unsigned char thread_status; #ifdef _MACOSX CFRunLoopRef runLoop; unsigned char macInitDone; #endif } CThread; int CThread_create(CThread *cp, CThread_func_t fp, CThread_func_arg_t arg); int CThread_create_detached(CThread *cp, CThread_func_t fp, CThread_func_arg_t arg); void CThread_join(CThread *cp); //void CThread_kill(CThread *cp); int CThread_is_my_thread(CThread cp); int CThread_mutex_init(CThread_mutex_t *); int CThread_mutex_destroy(CThread_mutex_t *mp); void CThread_mutex_lock(CThread_mutex_t *mp); void CThread_mutex_unlock(CThread_mutex_t *mp); void CThread_set_event(EVENT *ev); void CThread_reset_event(EVENT *ev); int CThread_wait_on_event(EVENT *ev, EVENT_TIME time); void CThread_create_event(EVENT *ev); int CThread_destroy_event(EVENT *ev); int RegisterLocalDevice(CPhidgetHandle phid); int StartCentralThread(); int JoinCentralThread(); CThread_func_return_t ReadThreadFunction(CThread_func_arg_t arg); CThread_func_return_t WriteThreadFunction(CThread_func_arg_t arg); #endif #endif bian/nyancat.git/stats/src/Makefile?h=debian/1.2-1'>stats
path: root/src/Makefile (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2011-12-05I already removed the goto's, so let's remove the label as well.Peetz0r1-10/+0
2011-12-05terminal_width now also working over telnet.Peetz0r1-7/+14
2011-12-05Add Apple ][ supportPeetz0r1-3/+35
2011-12-04[minor] TypoKevin Lange1-1/+1
2011-12-04Wow, that was dumbKevin Lange1-2/+2
2011-12-04Reset colors when exited from standalone modeKevin Lange1-1/+1
2011-12-04Tell people how to exit in the MOTDKevin Lange1-2/+6
2011-12-04Fix up the MOTD a bitKevin Lange1-12/+12
2011-12-04Um, derpKevin Lange1-1/+1
2011-12-04[minor]Kevin Lange1-3/+6
2011-12-04Document, document, document.Kevin Lange1-25/+88
2011-12-04comments; do not break out of options on a non-IACKevin Lange1-2/+7
2011-12-04Use setjmp and alarm to break out of options handlingKevin Lange1-68/+86
2011-12-04Set the terminal title (xterm, gnome-terminal, screen...)Kevin Lange1-0/+5
2011-12-04Fix colors for textKevin Lange1-1/+2
2011-12-04You have nyaned for (way too long)Kevin Lange1-4/+25
2011-12-03Add a workaround for netcatKevin Lange1-0/+2
2011-12-03Fix linefeedsKevin Lange1-14/+35
2011-12-03Comments? In /my/ code? It's more likely than you think.Kevin Lange1-58/+143
2011-12-03updated readmeKevin Lange1-3/+3
2011-12-03Restore updated VT220 paletteKevin Lange1-4/+4
2011-12-03Get rid of all of that nasty pythonKevin Lange9-1769/+1147
2011-12-03Perhaps better characters for a VT220Kevin Lange1-4/+4
2011-12-03Fix string literal warningKevin Lange1-1/+1
2011-12-03Make the eyes uniformKevin Lange1-24/+24
2011-12-03Use the flat mouthKevin Lange1-24/+24
2011-12-02Added include for signal.hMyles Borins1-0/+1
2011-12-02Added SIGINT_handler to re-initialize cursor for reset on non-sane terminal e...Myles Borins1-1/+6
2011-12-01Fixed some issues with animation.Aaron Peschel1-33/+33
2011-12-01nyancat.c: Fix up sprinkles.Corbin Simpson1-24/+24
2011-12-01Update READMEKevin Lange1-2/+2
2011-12-01People won't have that, let's not scare them with an error messageKevin Lange1-1/+1
2011-12-01make that executableKevin Lange1-0/+0
2011-12-01Update everythingKevin Lange7-9/+105
2011-12-01Fixed fallback support to use bright foregrounds. Looks a lot betterKevin Lange1-16/+19
2011-12-01Add license header to c sourceKevin Lange1-1/+28
2011-12-01Fix MakefileKevin Lange1-1/+1
2011-11-30Made project more in line with Autotools standard.Aaron Peschel5-2/+50
2011-11-30Make some changes to the server to make it easier to closeKevin Lange1-2/+11
2011-11-30More readme updatesKevin Lange1-0/+6
2011-11-30Update readmeKevin Lange1-0/+16
2011-11-30That's a layover from the ToaruOS version of this...Kevin Lange1-1/+0
2011-11-30rxvt should emulate linuxKevin Lange1-1/+3
2011-11-30Buffer 1024 characters on each readKevin Lange1-1/+1
2011-11-30Hide the cursorKevin Lange1-1/+1
2011-11-30Telnet serverKevin Lange4-0/+808
2011-11-30Change description text for the modes. Standard color XTerm looks good, linux...Kevin Lange1-3/+3
2011-11-30Will this work?Kevin Lange1-0/+2