home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v22 / 082 < prev    next >
Mailbox/MIME Entity  |  1991-03-07  |  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 jsq@cs.utexas.edu Mon Jan 28 21:29:06 1991", 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 6a 73 71 | 40 63 73 2e 75 74 65 78 |From jsq|@cs.utex|
|00000010| 61 73 2e 65 64 75 20 20 | 4d 6f 6e 20 4a 61 6e 20 |as.edu |Mon Jan |
|00000020| 32 38 20 32 31 3a 32 39 | 3a 30 36 20 31 39 39 31 |28 21:29|:06 1991|
|00000030| 0a 52 65 63 65 69 76 65 | 64 3a 20 66 72 6f 6d 20 |.Receive|d: from |
|00000040| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 20 62 79 |cs.utexa|s.edu by|
|00000050| 20 75 75 6e 65 74 2e 55 | 55 2e 4e 45 54 20 28 35 | uunet.U|U.NET (5|
|00000060| 2e 36 31 2f 31 2e 31 34 | 29 20 77 69 74 68 20 53 |.61/1.14|) with S|
|00000070| 4d 54 50 20 0a 09 69 64 | 20 41 41 31 38 36 37 33 |MTP ..id| AA18673|
|00000080| 3b 20 4d 6f 6e 2c 20 32 | 38 20 4a 61 6e 20 39 31 |; Mon, 2|8 Jan 91|
|00000090| 20 32 31 3a 32 39 3a 30 | 36 20 2d 30 35 30 30 0a | 21:29:0|6 -0500.|
|000000a0| 50 6f 73 74 65 64 2d 44 | 61 74 65 3a 20 32 35 20 |Posted-D|ate: 25 |
|000000b0| 4a 61 6e 20 39 31 20 30 | 33 3a 32 35 3a 31 33 20 |Jan 91 0|3:25:13 |
|000000c0| 47 4d 54 0a 52 65 63 65 | 69 76 65 64 3a 20 62 79 |GMT.Rece|ived: by|
|000000d0| 20 63 73 2e 75 74 65 78 | 61 73 2e 65 64 75 20 28 | cs.utex|as.edu (|
|000000e0| 35 2e 36 34 2f 31 2e 39 | 33 29 20 0a 46 72 6f 6d |5.64/1.9|3) .From|
|000000f0| 3a 20 6d 69 63 68 61 65 | 6c 40 43 53 2e 55 43 4c |: michae|l@CS.UCL|
|00000100| 41 2e 45 44 55 20 28 6d | 69 63 68 61 65 6c 20 67 |A.EDU (m|ichael g|
|00000110| 65 72 73 74 65 6e 29 0a | 4e 65 77 73 67 72 6f 75 |ersten).|Newsgrou|
|00000120| 70 73 3a 20 63 6f 6d 70 | 2e 73 74 64 2e 75 6e 69 |ps: comp|.std.uni|
|00000130| 78 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 71 |x.Subjec|t: Re: q|
|00000140| 66 6f 72 6b 28 29 20 28 | 61 67 61 69 6e 29 0a 4d |fork() (|again).M|
|00000150| 65 73 73 61 67 65 2d 49 | 64 3a 20 3c 31 37 34 30 |essage-I|d: <1740|
|00000160| 32 40 63 73 2e 75 74 65 | 78 61 73 2e 65 64 75 3e |2@cs.ute|xas.edu>|
|00000170| 0a 52 65 66 65 72 65 6e | 63 65 73 3a 20 3c 31 36 |.Referen|ces: <16|
|00000180| 38 37 35 40 63 73 2e 75 | 74 65 78 61 73 2e 65 64 |875@cs.u|texas.ed|
|00000190| 75 3e 20 3c 31 36 39 39 | 32 40 63 73 2e 75 74 65 |u> <1699|2@cs.ute|
|000001a0| 78 61 73 2e 65 64 75 3e | 20 3c 31 37 30 31 30 40 |xas.edu>| <17010@|
|000001b0| 63 73 2e 75 74 65 78 61 | 73 2e 65 64 75 3e 0a 53 |cs.utexa|s.edu>.S|
|000001c0| 65 6e 64 65 72 3a 20 6a | 73 71 40 63 73 2e 75 74 |ender: j|sq@cs.ut|
|000001d0| 65 78 61 73 2e 65 64 75 | 0a 4f 72 67 61 6e 69 7a |exas.edu|.Organiz|
|000001e0| 61 74 69 6f 6e 3a 20 55 | 43 4c 41 20 43 6f 6d 70 |ation: U|CLA Comp|
|000001f0| 75 74 65 72 20 53 63 69 | 65 6e 63 65 20 44 65 70 |uter Sci|ence Dep|
|00000200| 61 72 74 6d 65 6e 74 0a | 58 2d 53 75 62 6d 69 73 |artment.|X-Submis|
|00000210| 73 69 6f 6e 73 3a 20 73 | 74 64 2d 75 6e 69 78 40 |sions: s|td-unix@|
|00000220| 75 75 6e 65 74 2e 75 75 | 2e 6e 65 74 0a 44 61 74 |uunet.uu|.net.Dat|
|00000230| 65 3a 20 32 35 20 4a 61 | 6e 20 39 31 20 30 33 3a |e: 25 Ja|n 91 03:|
|00000240| 32 35 3a 31 33 20 47 4d | 54 0a 52 65 70 6c 79 2d |25:13 GM|T.Reply-|
|00000250| 54 6f 3a 20 73 74 64 2d | 75 6e 69 78 40 75 75 6e |To: std-|unix@uun|
|00000260| 65 74 2e 55 55 2e 4e 45 | 54 0a 54 6f 3a 20 73 74 |et.UU.NE|T.To: st|
|00000270| 64 2d 75 6e 69 78 40 75 | 75 6e 65 74 2e 55 55 2e |d-unix@u|unet.UU.|
|00000280| 4e 45 54 0a 0a 53 75 62 | 6d 69 74 74 65 64 2d 62 |NET..Sub|mitted-b|
|00000290| 79 3a 20 6d 69 63 68 61 | 65 6c 40 43 53 2e 55 43 |y: micha|el@CS.UC|
|000002a0| 4c 41 2e 45 44 55 20 28 | 6d 69 63 68 61 65 6c 20 |LA.EDU (|michael |
|000002b0| 67 65 72 73 74 65 6e 29 | 0a 0a 49 6e 20 61 72 74 |gersten)|..In art|
|000002c0| 69 63 6c 65 20 3c 31 37 | 30 31 30 40 63 73 2e 75 |icle <17|010@cs.u|
|000002d0| 74 65 78 61 73 2e 65 64 | 75 3e 20 67 77 79 6e 40 |texas.ed|u> gwyn@|
|000002e0| 73 6d 6f 6b 65 2e 62 72 | 6c 2e 6d 69 6c 20 28 44 |smoke.br|l.mil (D|
|000002f0| 6f 75 67 20 47 77 79 6e | 29 20 77 72 69 74 65 73 |oug Gwyn|) writes|
|00000300| 3a 0a 3e 53 75 62 6d 69 | 74 74 65 64 2d 62 79 3a |:.>Submi|tted-by:|
|00000310| 20 67 77 79 6e 40 73 6d | 6f 6b 65 2e 62 72 6c 2e | gwyn@sm|oke.brl.|
|00000320| 6d 69 6c 20 28 44 6f 75 | 67 20 47 77 79 6e 29 0a |mil (Dou|g Gwyn).|
|00000330| 3e 0a 3e 49 6e 20 61 72 | 74 69 63 6c 65 20 3c 31 |>.>In ar|ticle <1|
|00000340| 36 39 39 32 40 63 73 2e | 75 74 65 78 61 73 2e 65 |6992@cs.|utexas.e|
|00000350| 64 75 3e 20 70 65 74 65 | 72 40 66 69 63 63 2e 66 |du> pete|r@ficc.f|
|00000360| 65 72 72 61 6e 74 69 2e | 63 6f 6d 20 28 50 65 74 |erranti.|com (Pet|
|00000370| 65 72 20 64 61 20 53 69 | 6c 76 61 29 20 77 72 69 |er da Si|lva) wri|
|00000380| 74 65 73 3a 0a 3e 3e 49 | 6e 20 61 72 74 69 63 6c |tes:.>>I|n articl|
|00000390| 65 20 3c 31 36 38 37 35 | 40 63 73 2e 75 74 65 78 |e <16875|@cs.utex|
|000003a0| 61 73 2e 65 64 75 3e 20 | 67 77 79 6e 40 73 6d 6f |as.edu> |gwyn@smo|
|000003b0| 6b 65 2e 62 72 6c 2e 6d | 69 6c 20 28 44 6f 75 67 |ke.brl.m|il (Doug|
|000003c0| 20 47 77 79 6e 29 20 77 | 72 69 74 65 73 3a 0a 3e | Gwyn) w|rites:.>|
|000003d0| 3e 3e 20 57 65 20 28 49 | 45 45 45 20 50 31 30 30 |>> We (I|EEE P100|
|000003e0| 33 29 20 64 65 6c 69 62 | 65 72 61 74 65 6c 79 20 |3) delib|erately |
|000003f0| 6f 6d 69 74 74 65 64 20 | 76 66 6f 72 6b 28 29 20 |omitted |vfork() |
|00000400| 66 72 6f 6d 20 74 68 65 | 20 50 4f 53 49 58 20 73 |from the| POSIX s|
|00000410| 70 65 63 0a 3e 3e 3e 20 | 62 65 63 61 75 73 65 20 |pec.>>> |because |
|00000420| 69 74 20 77 61 73 20 6e | 6f 74 20 6e 65 63 65 73 |it was n|ot neces|
|00000430| 73 61 72 79 2c 20 67 69 | 76 65 6e 20 61 20 64 65 |sary, gi|ven a de|
|00000440| 63 65 6e 74 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |cent imp|lementat|
|00000450| 69 6f 6e 20 6f 66 20 66 | 6f 72 6b 28 29 2e 0a 3e |ion of f|ork()..>|
|00000460| 3e 50 4f 53 49 58 20 69 | 73 20 6e 6f 74 20 73 75 |>POSIX i|s not su|
|00000470| 70 70 6f 73 65 64 20 74 | 6f 20 62 65 20 61 20 73 |pposed t|o be a s|
|00000480| 74 61 6e 64 61 72 64 20 | 66 6f 72 20 55 4e 49 58 |tandard |for UNIX|
|00000490| 20 6f 6e 6c 79 2e 20 49 | 6e 20 6d 61 6e 79 20 6e | only. I|n many n|
|000004a0| 6f 6e 2d 55 4e 49 58 0a | 3e 3e 65 6e 76 69 72 6f |on-UNIX.|>>enviro|
|000004b0| 6e 6d 65 6e 74 73 20 61 | 20 22 64 65 63 65 6e 74 |nments a| "decent|
|000004c0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation |
|000004d0| 6f 66 20 66 6f 72 6b 22 | 20 69 73 20 71 75 69 74 |of fork"| is quit|
|000004e0| 65 20 64 69 66 66 69 63 | 75 6c 74 20 2e 2e 2e 0a |e diffic|ult ....|
|000004f0| 3e 0a 3e 45 78 63 75 73 | 65 20 6d 65 2c 20 62 75 |>.>Excus|e me, bu|
|00000500| 74 20 79 6f 75 27 72 65 | 20 71 75 69 74 65 20 77 |t you're| quite w|
|00000510| 72 6f 6e 67 2e 20 20 50 | 31 30 30 33 20 64 65 63 |rong. P|1003 dec|
|00000520| 69 64 65 64 20 64 65 6c | 69 62 65 72 61 74 65 6c |ided del|iberatel|
|00000530| 79 20 74 68 61 74 20 77 | 65 0a 3e 28 49 20 77 61 |y that w|e.>(I wa|
|00000540| 73 20 74 68 65 72 65 29 | 20 77 6f 75 6c 64 20 6e |s there)| would n|
|00000550| 6f 74 20 63 6f 6d 70 72 | 6f 6d 69 73 65 20 74 68 |ot compr|omise th|
|00000560| 65 20 28 31 30 30 33 2e | 31 29 20 69 6e 74 65 72 |e (1003.|1) inter|
|00000570| 66 61 63 65 20 69 6e 20 | 6f 72 64 65 72 20 74 6f |face in |order to|
|00000580| 0a 3e 61 63 63 6f 6d 6d | 6f 64 61 74 65 20 22 6c |.>accomm|odate "l|
|00000590| 61 79 65 72 65 64 22 20 | 69 6d 70 6c 65 6d 65 6e |ayered" |implemen|
|000005a0| 74 61 74 69 6f 6e 73 2c | 20 66 6f 72 20 65 78 61 |tations,| for exa|
|000005b0| 6d 70 6c 65 20 6f 6e 20 | 6e 6f 6e 2d 55 4e 49 58 |mple on |non-UNIX|
|000005c0| 20 62 61 73 65 64 0a 3e | 6f 70 65 72 61 74 69 6e | based.>|operatin|
|000005d0| 67 20 73 79 73 74 65 6d | 20 6b 65 72 6e 65 6c 73 |g system| kernels|
|000005e0| 2e 0a 0a 0a 4d 61 79 20 | 49 20 68 75 6d 62 6c 79 |....May |I humbly|
|000005f0| 20 61 73 6b 20 77 68 61 | 74 20 77 61 73 20 77 72 | ask wha|t was wr|
|00000600| 6f 6e 67 20 77 69 74 68 | 20 76 66 6f 72 6b 3f 0a |ong with| vfork?.|
|00000610| 0a 41 73 20 49 20 75 6e | 64 65 72 73 74 61 6e 64 |.As I un|derstand|
|00000620| 20 69 74 2c 20 76 66 6f | 72 6b 27 73 20 73 65 6d | it, vfo|rk's sem|
|00000630| 61 6e 74 69 63 73 20 77 | 61 73 20 61 20 76 69 72 |antics w|as a vir|
|00000640| 74 75 61 6c 20 66 6f 72 | 6b 2d 2d 0a 63 6f 6e 63 |tual for|k--.conc|
|00000650| 65 70 74 75 61 6c 6c 79 | 20 74 77 6f 20 65 78 65 |eptually| two exe|
|00000660| 63 75 74 69 6f 6e 20 74 | 68 72 65 61 64 73 20 77 |cution t|hreads w|
|00000670| 6f 75 6c 64 20 72 65 74 | 75 72 6e 20 66 72 6f 6d |ould ret|urn from|
|00000680| 20 74 68 65 20 63 61 6c | 6c 2c 0a 61 6e 64 20 74 | the cal|l,.and t|
|00000690| 68 65 79 20 6d 61 79 20 | 6f 72 20 6d 61 79 20 6e |hey may |or may n|
|000006a0| 6f 74 20 62 65 20 73 68 | 61 72 69 6e 67 20 64 61 |ot be sh|aring da|
|000006b0| 74 61 20 73 70 61 63 65 | 2d 2d 61 6e 79 20 70 72 |ta space|--any pr|
|000006c0| 6f 67 72 61 6d 0a 74 68 | 61 74 20 72 65 6c 69 65 |ogram.th|at relie|
|000006d0| 64 20 6f 6e 20 6f 6e 65 | 20 6f 72 20 74 68 65 20 |d on one| or the |
|000006e0| 6f 74 68 65 72 20 77 61 | 73 20 62 79 20 64 65 66 |other wa|s by def|
|000006f0| 69 6e 69 74 69 6f 6e 20 | 62 72 6f 6b 65 6e 2e 0a |inition |broken..|
|00000700| 0a 4e 6f 77 2c 20 77 69 | 74 68 20 74 68 61 74 20 |.Now, wi|th that |
|00000710| 64 65 66 69 6e 69 74 69 | 6f 6e 2c 20 76 66 6f 72 |definiti|on, vfor|
|00000720| 6b 28 29 20 69 73 20 70 | 72 65 74 74 79 20 74 72 |k() is p|retty tr|
|00000730| 69 76 69 61 6c 20 74 6f | 20 69 6d 70 6c 65 6d 65 |ivial to| impleme|
|00000740| 6e 74 2c 0a 65 76 65 6e | 20 6f 6e 20 61 20 6e 61 |nt,.even| on a na|
|00000750| 6b 65 64 20 36 38 30 30 | 30 20 77 69 74 68 20 6e |ked 6800|0 with n|
|00000760| 6f 20 6d 6d 75 2e 20 41 | 6e 64 20 6f 6e 20 62 65 |o mmu. A|nd on be|
|00000770| 74 74 65 72 2c 20 6d 6f | 72 65 20 63 6f 6d 70 6c |tter, mo|re compl|
|00000780| 65 74 65 0a 73 79 73 74 | 65 6d 73 2c 20 69 74 20 |ete.syst|ems, it |
|00000790| 63 61 6e 20 62 65 20 69 | 64 65 6e 74 69 63 61 6c |can be i|dentical|
|000007a0| 20 74 6f 20 66 6f 72 6b | 2e 0a 0a 53 6f 20 69 74 | to fork|...So it|
|000007b0| 73 20 61 20 63 61 6c 6c | 20 74 68 61 74 20 69 73 |s a call| that is|
|000007c0| 20 61 74 20 6c 65 61 73 | 74 2c 20 69 66 20 6e 6f | at leas|t, if no|
|000007d0| 74 20 6d 6f 72 65 2c 20 | 65 66 66 69 63 69 65 6e |t more, |efficien|
|000007e0| 74 20 6f 6e 20 61 20 6c | 61 72 67 65 72 0a 76 61 |t on a l|arger.va|
|000007f0| 72 69 65 74 79 20 6f 66 | 20 68 61 72 64 77 61 72 |riety of| hardwar|
|00000800| 65 20 70 6c 61 74 66 6f | 72 6d 73 2e 0a 0a 4e 6f |e platfo|rms...No|
|00000810| 77 2c 20 77 68 79 20 77 | 61 73 20 69 74 20 72 65 |w, why w|as it re|
|00000820| 6d 6f 76 65 64 3f 20 57 | 68 61 74 20 69 73 20 77 |moved? W|hat is w|
|00000830| 72 6f 6e 67 20 77 69 74 | 68 20 69 74 3f 0a 0a 56 |rong wit|h it?..V|
|00000840| 6f 6c 75 6d 65 2d 4e 75 | 6d 62 65 72 3a 20 56 6f |olume-Nu|mber: Vo|
|00000850| 6c 75 6d 65 20 32 32 2c | 20 4e 75 6d 62 65 72 20 |lume 22,| Number |
|00000860| 38 32 0a 0a | |82.. | |
+--------+-------------------------+-------------------------+--------+--------+