Talk:NSS Library Init: Difference between revisions

Jump to navigation Jump to search
(Starting to move comments to here)
 
Line 17: Line 17:
== Why count unique contexts? ==
== Why count unique contexts? ==


Point 1 of the proposal says ''Multiple NSS_LibraryInit() calls are allowed. Each call will get it's own context.''  Point 3 of the proposal says ''NSS_LibraryShutdown() can be called once per context. If NSS_LibraryShutdown is called a second time on a context, an error is returned.''  But point 1 also says ''NSS will keep a count of NSS_LibraryInit calls.''  Why is a count of those calls necessary if each call gets its own unique context?  
Point 1 of the proposal says ''Multiple NSS_LibraryInit() calls are allowed. Each call will get it's own context.''  Point 3 of the proposal says ''NSS_LibraryShutdown() can be called once per context. If NSS_LibraryShutdown is called a second time on a context, an error is returned.''  But point 1 also says ''NSS will keep a count of NSS_LibraryInit calls.''  Why is a count of those calls necessary if each call gets its own unique context?
 
The count was an implementation detail. It no longer exists. it's been replaces with a list of active contexts.


== NSS_Init() semantics change after a call to NSS_LibraryInit() ?? ==
== NSS_Init() semantics change after a call to NSS_LibraryInit() ?? ==
439

edits

Navigation menu