Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!mit-eddie!ll-xn!ames!lll-tis!ptsfa!ihnp4!inuxc!iuvax!pur-ee!uiucdcs!uxc.cso.uiuc.edu!hamilton From: hamilton@uxc.cso.uiuc.edu Newsgroups: comp.sys.amiga Subject: Re: ID-handler - unique-number generato Message-ID: <172200071@uxc.cso.uiuc.edu> Date: Mon, 15-Jun-87 16:47:00 EDT Article-I.D.: uxc.172200071 Posted: Mon Jun 15 16:47:00 1987 Date-Received: Sun, 21-Jun-87 08:41:30 EDT References: <4228@ihlpa.ATT.COM> Lines: 20 Nf-ID: #R:ihlpa.ATT.COM:4228:uxc.cso.uiuc.edu:172200071:000:852 Nf-From: uxc.cso.uiuc.edu!hamilton Jun 15 15:47:00 1987 qix@ihlpa says: > Since process IDs (being MsgPort addresses) are not necessarily > unique on the Amiga, another method was needed for generating > unique numbers. just curious; what situation did you envision in which process id's would not be unique enough? the fact that a process id does point to a MsgPort doesn't in itself make it less unique; it still points "at" a Process struct, of which there is still only one per process, and one process per struct. if you need uniqueness for multiple names _within_ a process, you wouldn't rely on process id alone anyway. wayne hamilton U of Il and US Army Corps of Engineers CERL UUCP: {ihnp4,seismo,pur-ee,convex}!uiucuxc!hamilton ARPA: hamilton@uxc.cso.uiuc.edu USMail: Box 476, Urbana, IL 61801 CSNET: hamilton%uxc@uiuc.csnet Phone: (217)333-8703 CIS: [73047,544] PLink: w hamilton