On 10/23/12 6:12 PM, Daniel Patterson wrote:
> On Oct 23, 2012, at 12:00 PM, David Rajchenbach-Teller wrote:
>>> // Boilerplate for declaring TLS key
>>> fn missing_file_key(_x: @Handler<Path,Reader>) { }
>> I do not understand this line.
> 
> TLS storage needs a unique key to identify it. Right now, the way that is 
> done, as I understand it, is with the memory location for a global function. 
> So this is truly boilerplate, just a way to get a unique identifier for the 
> storage.
> 

Couldn't |missing_file| itself be the TLS key?

Cheers,
 David

-- 
David Rajchenbach-Teller, PhD
 Performance Team, Mozilla

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to