home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / mac / Technical Documentation / Develop / develop Issue 22 / develop Issue 22 code / Futures.sea / Futures / AEThreads / AEThreads.h < prev   
MacBinary  |  1995-04-15  |  1.6 KB  |  [TEXT/MMCC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sat Apr 15 18:08:01 1995, modified Sat Apr 15 18:08:01 1995, creator 'MMCC', type ASCII, 950 bytes "AEThreads.h" , at 0x436 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MMCC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 41 45 54 68 72 65 | 61 64 73 2e 68 00 00 00 |..AEThre|ads.h...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 4d 43 | 43 01 00 00 00 00 00 00 |.TEXTMMC|C.......|
|00000050| 00 00 00 00 00 03 b6 00 | 00 01 9a ab b5 f4 41 ab |........|......A.|
|00000060| b5 f4 41 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..A.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 fa b9 00 00 |........|........|
|00000080| 2f 2f 09 41 45 54 68 72 | 65 61 64 73 2e 68 0d 2f |//.AEThr|eads.h./|
|00000090| 2f 0d 2f 2f 09 43 6f 70 | 79 72 69 67 68 74 20 a9 |/.//.Cop|yright .|
|000000a0| 20 31 39 39 33 2d 39 35 | 20 53 74 65 76 65 20 53 | 1993-95| Steve S|
|000000b0| 69 73 61 6b 0d 2f 2f 09 | 0d 2f 2f 09 4c 69 63 65 |isak.//.|.//.Lice|
|000000c0| 6e 73 65 20 69 73 20 67 | 72 61 6e 74 65 64 20 74 |nse is g|ranted t|
|000000d0| 6f 20 75 73 65 2c 20 6d | 6f 64 69 66 79 2c 20 6d |o use, m|odify, m|
|000000e0| 61 6b 65 20 64 65 72 69 | 76 61 74 69 76 65 20 77 |ake deri|vative w|
|000000f0| 6f 72 6b 73 2c 20 61 6e | 64 20 0d 2f 2f 09 64 75 |orks, an|d .//.du|
|00000100| 70 6c 69 63 61 74 65 20 | 74 68 69 73 20 63 6f 64 |plicate |this cod|
|00000110| 65 20 61 74 20 77 69 6c | 6c 2c 20 73 6f 20 6c 6f |e at wil|l, so lo|
|00000120| 6e 67 20 61 73 20 74 68 | 69 73 20 6e 6f 74 69 63 |ng as th|is notic|
|00000130| 65 20 72 65 6d 61 69 6e | 73 20 69 6e 74 61 63 74 |e remain|s intact|
|00000140| 2e 0d 2f 2f 0d 0d 23 69 | 66 6e 64 65 66 20 5f 5f |..//..#i|fndef __|
|00000150| 41 45 54 48 52 45 41 44 | 53 5f 5f 0d 23 64 65 66 |AETHREAD|S__.#def|
|00000160| 69 6e 65 20 5f 5f 41 45 | 54 48 52 45 41 44 53 5f |ine __AE|THREADS_|
|00000170| 5f 0d 23 70 72 61 67 6d | 61 20 6f 6e 63 65 0d 0d |_.#pragm|a once..|
|00000180| 23 69 66 6e 64 65 66 20 | 5f 5f 41 50 50 4c 45 45 |#ifndef |__APPLEE|
|00000190| 56 45 4e 54 53 5f 5f 0d | 23 69 6e 63 6c 75 64 65 |VENTS__.|#include|
|000001a0| 20 3c 41 70 70 6c 65 45 | 76 65 6e 74 73 2e 68 3e | <AppleE|vents.h>|
|000001b0| 0d 23 65 6e 64 69 66 0d | 23 69 66 6e 64 65 66 20 |.#endif.|#ifndef |
|000001c0| 5f 5f 54 48 52 45 41 44 | 53 5f 5f 0d 23 69 6e 63 |__THREAD|S__.#inc|
|000001d0| 6c 75 64 65 20 3c 54 68 | 72 65 61 64 73 2e 68 3e |lude <Th|reads.h>|
|000001e0| 0d 23 65 6e 64 69 66 0d | 0d 23 69 66 64 65 66 20 |.#endif.|.#ifdef |
|000001f0| 5f 5f 63 70 6c 75 73 70 | 6c 75 73 0d 65 78 74 65 |__cplusp|lus.exte|
|00000200| 72 6e 20 22 43 22 20 7b | 0d 23 65 6e 64 69 66 0d |rn "C" {|.#endif.|
|00000210| 0d 2f 2f 20 43 61 6c 6c | 20 74 68 69 73 20 72 6f |.// Call| this ro|
|00000220| 75 74 69 6e 65 20 77 68 | 65 72 65 20 79 6f 75 20 |utine wh|ere you |
|00000230| 77 6f 75 6c 64 20 68 61 | 76 65 20 63 61 6c 6c 65 |would ha|ve calle|
|00000240| 64 20 41 45 49 6e 73 74 | 61 6c 6c 45 76 65 6e 74 |d AEInst|allEvent|
|00000250| 48 61 6e 64 6c 65 72 28 | 29 0d 2f 2f 20 74 6f 20 |Handler(|).// to |
|00000260| 68 61 76 65 20 79 6f 75 | 72 20 68 61 6e 64 6c 65 |have you|r handle|
|00000270| 72 20 66 75 6e 63 74 69 | 6f 6e 20 61 75 74 6f 6d |r functi|on autom|
|00000280| 61 74 69 63 61 6c 6c 79 | 20 63 61 6c 6c 65 64 20 |atically| called |
|00000290| 66 72 6f 6d 20 61 20 6e | 65 77 20 74 68 72 65 61 |from a n|ew threa|
|000002a0| 64 0d 2f 2f 20 66 6f 72 | 20 65 61 63 68 20 69 6e |d.// for| each in|
|000002b0| 63 6f 6d 69 6e 67 20 65 | 76 65 6e 74 2e 20 20 54 |coming e|vent. T|
|000002c0| 68 65 20 70 61 72 61 6d | 65 74 65 72 20 64 65 73 |he param|eter des|
|000002d0| 63 72 69 70 74 69 6f 6e | 73 20 61 72 65 20 74 68 |cription|s are th|
|000002e0| 65 20 73 61 6d 65 20 61 | 73 0d 2f 2f 20 74 68 6f |e same a|s.// tho|
|000002f0| 73 65 20 66 6f 72 20 41 | 45 49 6e 73 74 61 6c 6c |se for A|EInstall|
|00000300| 45 76 65 6e 74 48 61 6e | 64 6c 65 72 28 29 20 61 |EventHan|dler() a|
|00000310| 6e 64 20 4e 65 77 54 68 | 72 65 61 64 28 29 0d 0d |nd NewTh|read()..|
|00000320| 70 61 73 63 61 6c 20 4f | 53 45 72 72 20 41 45 49 |pascal O|SErr AEI|
|00000330| 6e 73 74 61 6c 6c 54 68 | 72 65 61 64 65 64 45 76 |nstallTh|readedEv|
|00000340| 65 6e 74 48 61 6e 64 6c | 65 72 28 0d 09 09 09 09 |entHandl|er(.....|
|00000350| 09 41 45 45 76 65 6e 74 | 43 6c 61 73 73 09 09 74 |.AEEvent|Class..t|
|00000360| 68 65 41 45 45 76 65 6e | 74 43 6c 61 73 73 2c 0d |heAEEven|tClass,.|
|00000370| 09 09 09 09 09 41 45 45 | 76 65 6e 74 49 44 09 09 |.....AEE|ventID..|
|00000380| 09 74 68 65 41 45 45 76 | 65 6e 74 49 44 2c 0d 09 |.theAEEv|entID,..|
|00000390| 09 09 09 09 41 45 45 76 | 65 6e 74 48 61 6e 64 6c |....AEEv|entHandl|
|000003a0| 65 72 55 50 50 09 70 72 | 6f 63 2c 0d 09 09 09 09 |erUPP.pr|oc,.....|
|000003b0| 09 6c 6f 6e 67 09 09 09 | 09 68 61 6e 64 6c 65 72 |.long...|.handler|
|000003c0| 52 65 66 63 6f 6e 2c 0d | 09 09 09 09 09 54 68 72 |Refcon,.|.....Thr|
|000003d0| 65 61 64 4f 70 74 69 6f | 6e 73 09 09 6f 70 74 69 |eadOptio|ns..opti|
|000003e0| 6f 6e 73 2c 0d 09 09 09 | 09 09 53 69 7a 65 09 09 |ons,....|..Size..|
|000003f0| 09 09 73 74 61 63 6b 73 | 69 7a 65 29 3b 09 0d 0d |..stacks|ize);...|
|00000400| 0d 0d 23 69 66 64 65 66 | 20 5f 5f 63 70 6c 75 73 |..#ifdef| __cplus|
|00000410| 70 6c 75 73 0d 7d 0d 23 | 65 6e 64 69 66 0d 0d 23 |plus.}.#|endif..#|
|00000420| 65 6e 64 69 66 20 2f 2f | 20 5f 5f 41 45 54 48 52 |endif //| __AETHR|
|00000430| 45 41 44 53 5f 5f 00 00 | 00 00 00 00 00 00 00 00 |EADS__..|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000490| ff ff ff ff 00 01 00 00 | 00 00 00 00 00 02 00 00 |........|........|
|000004a0| 66 66 00 00 00 03 00 00 | 00 00 dd dd 00 04 00 00 |ff......|........|
|000004b0| 0b 41 45 54 68 72 65 61 | 64 73 2e 68 02 00 00 00 |.AEThrea|ds.h....|
|000004c0| 54 45 58 54 4d 4d 43 43 | 01 00 ff ff ff ff 00 00 |TEXTMMCC|........|
|000004d0| 00 00 54 45 58 54 4d 4d | 43 43 01 00 ff ff ff ff |..TEXTMM|CC......|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 ab 53 07 3c 00 00 | 03 b6 00 00 01 9a 00 48 |...S.<..|.......H|
|00000500| 00 00 00 48 00 00 00 00 | 00 04 00 01 00 04 00 00 |...H....|........|
|00000510| 00 00 00 00 00 6e 00 00 | 00 00 24 21 24 27 33 13 |.....n..|..$!$'3.|
|00000520| 42 44 43 33 62 21 43 20 | 24 32 33 00 26 16 42 51 |BDC3b!C |$23.&.BQ|
|00000530| 34 24 41 42 41 35 64 43 | 33 42 00 00 00 00 00 00 |4$ABA5dC|3B......|
|00000540| 00 07 00 00 d9 43 d9 43 | d9 43 00 01 b0 d7 b0 d7 |.....C.C|.C......|
|00000550| b0 d7 00 02 93 79 93 79 | 93 79 00 03 dd dd a5 c1 |.....y.y|.y......|
|00000560| 9f 63 00 04 87 94 68 9a | 74 94 00 05 53 5e 3b 22 |.c....h.|t...S^;"|
|00000570| 45 dc 00 06 81 af 36 e0 | 2e 31 00 07 40 74 6f 28 |E.....6.|.1..@to(|
|00000580| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 03 | 00 04 00 69 00 54 02 77 |........|...i.T.w|
|000005b0| 02 a6 00 69 00 54 02 77 | 02 a6 ab b5 c0 a4 00 00 |...i.T.w|........|
|000005c0| 02 77 00 00 02 8c 00 00 | 00 00 01 00 00 00 00 04 |.w......|........|
|000005d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000005e0| 00 00 00 46 02 10 69 e8 | 17 e0 00 00 00 1c 00 46 |...F..i.|.......F|
|000005f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000600| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000610| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+