This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"int pid" replaced with ProcessIdentifier


FYI,

I've pushed a low-level change so that frysk.sys's process code uses a ProcessIdentifier object instead of "int pid"s; there is one ProcessIdentifier per "pid". The change is slowly working its way through frysk.proc.live; it won't be taken further.

The motivation is simple, while "int pid" looks small and efficient; it turns out that the code using it really needed an object (leaking something like <<new Integer(pid)>>) to either log or hash the pid. With a proper object both of these cases can be greatly simplified.

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]