home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v21 / 097 < prev    next >
Mailbox/MIME Entity  |  1990-12-05  |  2.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From std-unix-request@uunet.uu.net Tue Sep 11 14:23:32 1990", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 73 74 64 | 2d 75 6e 69 78 2d 72 65 |From std|-unix-re|
|00000010| 71 75 65 73 74 40 75 75 | 6e 65 74 2e 75 75 2e 6e |quest@uu|net.uu.n|
|00000020| 65 74 20 20 54 75 65 20 | 53 65 70 20 31 31 20 31 |et Tue |Sep 11 1|
|00000030| 34 3a 32 33 3a 33 32 20 | 31 39 39 30 0a 52 65 63 |4:23:32 |1990.Rec|
|00000040| 65 69 76 65 64 3a 20 66 | 72 6f 6d 20 63 73 2e 75 |eived: f|rom cs.u|
|00000050| 74 65 78 61 73 2e 65 64 | 75 20 62 79 20 75 75 6e |texas.ed|u by uun|
|00000060| 65 74 2e 75 75 2e 6e 65 | 74 20 28 35 2e 36 31 2f |et.uu.ne|t (5.61/|
|00000070| 31 2e 31 34 29 20 77 69 | 74 68 20 53 4d 54 50 20 |1.14) wi|th SMTP |
|00000080| 0a 09 69 64 20 41 41 31 | 36 39 30 37 3b 20 54 75 |..id AA1|6907; Tu|
|00000090| 65 2c 20 31 31 20 53 65 | 70 20 39 30 20 31 34 3a |e, 11 Se|p 90 14:|
|000000a0| 32 33 3a 33 32 20 2d 30 | 34 30 30 0a 50 6f 73 74 |23:32 -0|400.Post|
|000000b0| 65 64 2d 44 61 74 65 3a | 20 31 31 20 53 65 70 20 |ed-Date:| 11 Sep |
|000000c0| 39 30 20 30 37 3a 30 36 | 3a 32 33 20 47 4d 54 0a |90 07:06|:23 GMT.|
|000000d0| 52 65 63 65 69 76 65 64 | 3a 20 62 79 20 63 73 2e |Received|: by cs.|
|000000e0| 75 74 65 78 61 73 2e 65 | 64 75 20 28 35 2e 36 34 |utexas.e|du (5.64|
|000000f0| 2f 31 2e 37 36 29 20 0a | 46 72 6f 6d 3a 20 6f 6b |/1.76) .|From: ok|
|00000100| 40 67 6f 61 6e 6e 61 2e | 63 73 2e 72 6d 69 74 2e |@goanna.|cs.rmit.|
|00000110| 4f 5a 2e 41 55 20 28 52 | 69 63 68 61 72 64 20 41 |OZ.AU (R|ichard A|
|00000120| 2e 20 4f 27 4b 65 65 66 | 65 29 0a 4e 65 77 73 67 |. O'Keef|e).Newsg|
|00000130| 72 6f 75 70 73 3a 20 63 | 6f 6d 70 2e 73 74 64 2e |roups: c|omp.std.|
|00000140| 75 6e 69 78 0a 53 75 62 | 6a 65 63 74 3a 20 52 65 |unix.Sub|ject: Re|
|00000150| 3a 20 53 74 61 6e 64 61 | 72 64 73 20 55 70 64 61 |: Standa|rds Upda|
|00000160| 74 65 2c 20 49 45 45 45 | 20 31 30 30 33 2e 34 3a |te, IEEE| 1003.4:|
|00000170| 20 52 65 61 6c 2d 74 69 | 6d 65 20 45 78 74 65 6e | Real-ti|me Exten|
|00000180| 73 69 6f 6e 73 0a 4d 65 | 73 73 61 67 65 2d 49 64 |sions.Me|ssage-Id|
|00000190| 3a 20 3c 35 30 33 40 75 | 73 65 6e 69 78 2e 4f 52 |: <503@u|senix.OR|
|000001a0| 47 3e 0a 52 65 66 65 72 | 65 6e 63 65 73 3a 20 3c |G>.Refer|ences: <|
|000001b0| 34 38 31 40 75 73 65 6e | 69 78 2e 4f 52 47 3e 20 |481@usen|ix.ORG> |
|000001c0| 3c 34 39 35 40 75 73 65 | 6e 69 78 2e 4f 52 47 3e |<495@use|nix.ORG>|
|000001d0| 20 3c 34 38 38 40 75 73 | 65 6e 69 78 2e 4f 52 47 | <488@us|enix.ORG|
|000001e0| 3e 20 3c 34 39 31 40 75 | 73 65 6e 69 78 2e 4f 52 |> <491@u|senix.OR|
|000001f0| 47 3e 20 3c 34 39 37 40 | 75 73 65 6e 69 78 2e 4f |G> <497@|usenix.O|
|00000200| 52 47 3e 20 3c 34 39 37 | 40 75 73 65 6e 69 78 2e |RG> <497|@usenix.|
|00000210| 4f 52 47 3e 2c 0a 53 65 | 6e 64 65 72 3a 20 6a 73 |ORG>,.Se|nder: js|
|00000220| 71 40 75 73 65 6e 69 78 | 2e 4f 52 47 0a 4f 72 67 |q@usenix|.ORG.Org|
|00000230| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 43 6f 6d 70 20 |anizatio|n: Comp |
|00000240| 53 63 69 2c 20 52 4d 49 | 54 2c 20 4d 65 6c 62 6f |Sci, RMI|T, Melbo|
|00000250| 75 72 6e 65 2c 20 41 75 | 73 74 72 61 6c 69 61 0a |urne, Au|stralia.|
|00000260| 58 2d 53 75 62 6d 69 73 | 73 69 6f 6e 73 3a 20 73 |X-Submis|sions: s|
|00000270| 74 64 2d 75 6e 69 78 40 | 75 75 6e 65 74 2e 75 75 |td-unix@|uunet.uu|
|00000280| 2e 6e 65 74 0a 44 61 74 | 65 3a 20 31 31 20 53 65 |.net.Dat|e: 11 Se|
|00000290| 70 20 39 30 20 30 37 3a | 30 36 3a 32 33 20 47 4d |p 90 07:|06:23 GM|
|000002a0| 54 0a 52 65 70 6c 79 2d | 54 6f 3a 20 73 74 64 2d |T.Reply-|To: std-|
|000002b0| 75 6e 69 78 40 75 75 6e | 65 74 2e 75 75 2e 6e 65 |unix@uun|et.uu.ne|
|000002c0| 74 0a 54 6f 3a 20 73 74 | 64 2d 75 6e 69 78 40 75 |t.To: st|d-unix@u|
|000002d0| 75 6e 65 74 2e 75 75 2e | 6e 65 74 0a 0a 46 72 6f |unet.uu.|net..Fro|
|000002e0| 6d 3a 20 6f 6b 40 67 6f | 61 6e 6e 61 2e 63 73 2e |m: ok@go|anna.cs.|
|000002f0| 72 6d 69 74 2e 4f 5a 2e | 41 55 20 28 52 69 63 68 |rmit.OZ.|AU (Rich|
|00000300| 61 72 64 20 41 2e 20 4f | 27 4b 65 65 66 65 29 0a |ard A. O|'Keefe).|
|00000310| 0a 49 6e 20 61 72 74 69 | 63 6c 65 20 3c 34 39 37 |.In arti|cle <497|
|00000320| 40 75 73 65 6e 69 78 2e | 4f 52 47 3e 2c 20 73 77 |@usenix.|ORG>, sw|
|00000330| 61 72 74 40 73 72 63 2e | 64 65 63 2e 63 6f 6d 20 |art@src.|dec.com |
|00000340| 28 47 61 72 72 65 74 20 | 53 77 61 72 74 29 20 77 |(Garret |Swart) w|
|00000350| 72 69 74 65 73 3a 0a 3e | 20 49 20 62 65 6c 69 65 |rites:.>| I belie|
|00000360| 76 65 20 69 6e 20 70 75 | 74 74 69 6e 67 20 6c 6f |ve in pu|tting lo|
|00000370| 74 73 20 6f 66 20 69 6e | 74 65 72 65 73 74 69 6e |ts of in|terestin|
|00000380| 67 20 73 74 75 66 66 20 | 69 6e 20 74 68 65 20 66 |g stuff |in the f|
|00000390| 69 6c 65 20 73 79 73 74 | 65 6d 20 6e 61 6d 65 0a |ile syst|em name.|
|000003a0| 3e 20 73 70 61 63 65 20 | 62 75 74 20 49 20 64 6f |> space |but I do|
|000003b0| 6e 27 74 20 62 65 6c 69 | 65 76 65 20 74 68 61 74 |n't beli|eve that|
|000003c0| 20 73 65 6d 61 70 68 6f | 72 65 73 20 62 65 6c 6f | semapho|res belo|
|000003d0| 6e 67 20 74 68 65 72 65 | 2e 20 20 54 68 65 20 72 |ng there|. The r|
|000003e0| 65 61 73 6f 6e 0a 3e 20 | 49 20 64 6f 6e 27 74 20 |eason.> |I don't |
|000003f0| 77 61 6e 74 20 74 6f 20 | 70 75 74 20 73 65 6d 61 |want to |put sema|
|00000400| 70 68 6f 72 65 73 20 69 | 6e 20 74 68 65 20 6e 61 |phores i|n the na|
|00000410| 6d 65 20 73 70 61 63 65 | 20 69 73 20 74 68 65 20 |me space| is the |
|00000420| 73 61 6d 65 20 72 65 61 | 73 6f 6e 0a 3e 20 49 20 |same rea|son.> I |
|00000430| 64 6f 6e 27 74 20 77 61 | 6e 74 20 74 6f 20 70 75 |don't wa|nt to pu|
|00000440| 74 20 6d 79 20 70 72 6f | 67 72 61 6d 20 76 61 72 |t my pro|gram var|
|00000450| 69 61 62 6c 65 73 20 69 | 6e 20 74 68 65 20 6e 61 |iables i|n the na|
|00000460| 6d 65 20 73 70 61 63 65 | 3a 20 20 49 20 77 61 6e |me space|: I wan|
|00000470| 74 0a 3e 20 74 6f 20 68 | 61 76 65 20 6c 6f 74 73 |t.> to h|ave lots|
|00000480| 20 6f 66 20 74 68 65 6d | 2c 20 49 20 77 61 6e 74 | of them|, I want|
|00000490| 20 74 6f 20 63 72 65 61 | 74 65 20 61 6e 64 20 64 | to crea|te and d|
|000004a0| 65 73 74 72 6f 79 20 74 | 68 65 6d 20 76 65 72 79 |estroy t|hem very|
|000004b0| 20 71 75 69 63 6b 6c 79 | 0a 3e 20 61 6e 64 20 49 | quickly|.> and I|
|000004c0| 20 77 61 6e 74 20 74 6f | 20 6f 70 65 72 61 74 65 | want to| operate|
|000004d0| 20 6f 6e 20 74 68 65 6d | 20 65 76 65 6e 20 6d 6f | on them| even mo|
|000004e0| 72 65 20 71 75 69 63 6b | 6c 79 2e 20 20 49 6e 20 |re quick|ly. In |
|000004f0| 6f 74 68 65 72 20 77 6f | 72 64 73 2c 20 74 68 65 |other wo|rds, the|
|00000500| 0a 3e 20 67 72 61 6e 75 | 6c 61 72 69 74 79 20 69 |.> granu|larity i|
|00000510| 73 20 77 72 6f 6e 67 2e | 0a 0a 53 6f 20 77 68 79 |s wrong.|..So why|
|00000520| 20 6e 6f 74 20 63 68 6f | 6f 73 65 20 61 20 64 69 | not cho|ose a di|
|00000530| 66 66 65 72 65 6e 74 20 | 67 72 61 6e 75 6c 61 72 |fferent |granular|
|00000540| 69 74 79 3f 20 20 48 61 | 76 65 20 74 68 65 20 74 |ity? Ha|ve the t|
|00000550| 68 69 6e 67 20 74 68 61 | 74 20 67 6f 65 73 20 69 |hing tha|t goes i|
|00000560| 6e 0a 74 68 65 20 66 69 | 6c 65 20 73 79 73 74 65 |n.the fi|le syste|
|00000570| 6d 20 6e 61 6d 65 20 73 | 70 61 63 65 20 62 65 20 |m name s|pace be |
|00000580| 61 6e 20 28 65 78 74 65 | 6e 73 69 62 6c 65 29 20 |an (exte|nsible) |
|00000590| 2a 61 72 72 61 79 2a 20 | 6f 66 20 73 65 6d 61 70 |*array* |of semap|
|000005a0| 68 6f 72 65 73 2e 0a 54 | 6f 20 73 70 65 63 69 66 |hores..T|o specif|
|000005b0| 79 20 61 20 73 65 6d 61 | 70 68 6f 72 65 2c 20 6f |y a sema|phore, o|
|000005c0| 6e 65 20 77 6f 75 6c 64 | 20 75 73 65 20 61 20 28 |ne would| use a (|
|000005d0| 64 65 73 63 72 69 70 74 | 6f 72 2c 20 69 6e 64 65 |descript|or, inde|
|000005e0| 78 29 20 70 61 69 72 2e | 0a 54 6f 20 63 72 65 61 |x) pair.|.To crea|
|000005f0| 74 65 20 61 20 73 65 6d | 61 70 68 6f 72 65 20 69 |te a sem|aphore i|
|00000600| 6e 20 61 20 73 65 6d 61 | 70 68 6f 72 65 20 67 72 |n a sema|phore gr|
|00000610| 6f 75 70 2c 20 6a 75 73 | 74 20 75 73 65 20 69 74 |oup, jus|t use it|
|00000620| 2e 0a 49 66 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |..If you| want to|
|00000630| 20 68 61 76 65 20 61 20 | 73 65 6d 61 70 68 6f 72 | have a |semaphor|
|00000640| 65 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |e associ|ated wit|
|00000650| 68 20 61 20 64 61 74 61 | 20 73 74 72 75 63 74 75 |h a data| structu|
|00000660| 72 65 20 69 6e 0a 6d 61 | 70 70 65 64 20 6d 65 6d |re in.ma|pped mem|
|00000670| 6f 72 79 2c 20 6a 75 73 | 74 20 75 73 65 20 61 20 |ory, jus|t use a |
|00000680| 6c 6f 63 6b 20 6f 6e 20 | 74 68 65 20 61 70 70 72 |lock on |the appr|
|00000690| 6f 70 72 69 61 74 65 20 | 62 79 74 65 20 72 61 6e |opriate |byte ran|
|000006a0| 67 65 20 6f 66 20 74 68 | 65 0a 6d 61 70 70 65 64 |ge of th|e.mapped|
|000006b0| 20 66 69 6c 65 2e 0a 0a | 28 41 6d 20 49 20 68 6f | file...|(Am I ho|
|000006c0| 70 65 6c 65 73 73 6c 79 | 20 63 6f 6e 66 75 73 65 |pelessly| confuse|
|000006d0| 64 2c 20 6f 72 20 61 72 | 65 6e 27 74 20 61 64 76 |d, or ar|en't adv|
|000006e0| 69 73 6f 72 79 20 72 65 | 63 6f 72 64 20 6c 6f 63 |isory re|cord loc|
|000006f0| 6b 73 20 2a 61 6c 72 65 | 61 64 79 2a 0a 65 71 75 |ks *alre|ady*.equ|
|00000700| 69 76 61 6c 65 6e 74 20 | 74 6f 20 62 69 6e 61 72 |ivalent |to binar|
|00000710| 79 20 73 65 6d 61 70 68 | 6f 72 65 73 3f 20 20 54 |y semaph|ores? T|
|00000720| 72 79 69 6e 67 20 74 6f | 20 6c 6f 63 6b 20 61 20 |rying to| lock a |
|00000730| 72 61 6e 67 65 20 6f 66 | 20 62 79 74 65 73 20 69 |range of| bytes i|
|00000740| 6e 0a 61 20 66 69 6c 65 | 20 69 73 20 6a 75 73 74 |n.a file| is just|
|00000750| 20 61 20 6d 75 6c 74 69 | 2d 77 61 69 74 2c 20 6e | a multi|-wait, n|
|00000760| 6f 3f 20 20 57 68 79 20 | 64 6f 20 77 65 20 6e 65 |o? Why |do we ne|
|00000770| 65 64 20 74 77 6f 20 69 | 6e 74 65 72 66 61 63 65 |ed two i|nterface|
|00000780| 73 3f 20 20 28 49 0a 63 | 61 6e 20 73 65 65 20 74 |s? (I.c|an see t|
|00000790| 68 61 74 20 74 77 6f 20 | 6f 72 20 6d 6f 72 65 20 |hat two |or more |
|000007a0| 5f 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 73 |_impleme|ntations|
|000007b0| 5f 20 62 65 68 69 6e 64 | 20 74 68 65 20 69 6e 74 |_ behind| the int|
|000007c0| 65 72 66 61 63 65 20 6d | 69 67 68 74 0a 62 65 20 |erface m|ight.be |
|000007d0| 61 20 67 6f 6f 64 20 69 | 64 65 61 2c 20 62 75 74 |a good i|dea, but|
|000007e0| 20 74 68 61 74 27 73 20 | 61 6e 6f 74 68 65 72 20 | that's |another |
|000007f0| 71 75 65 73 74 69 6f 6e | 2e 29 0a 2d 2d 20 0a 48 |question|.).-- .H|
|00000800| 65 75 65 72 27 73 20 4c | 61 77 3a 20 20 41 6e 79 |euer's L|aw: Any|
|00000810| 20 66 65 61 74 75 72 65 | 20 69 73 20 61 20 62 75 | feature| is a bu|
|00000820| 67 20 75 6e 6c 65 73 73 | 20 69 74 20 63 61 6e 20 |g unless| it can |
|00000830| 62 65 20 74 75 72 6e 65 | 64 20 6f 66 66 2e 0a 0a |be turne|d off...|
|00000840| 56 6f 6c 75 6d 65 2d 4e | 75 6d 62 65 72 3a 20 56 |Volume-N|umber: V|
|00000850| 6f 6c 75 6d 65 20 32 31 | 2c 20 4e 75 6d 62 65 72 |olume 21|, Number|
|00000860| 20 39 37 0a 0a | | 97.. | |
+--------+-------------------------+-------------------------+--------+--------+