sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: rust
Issue: Conditional compilation based on crate_type
Labels: A-driver,A-attributes,T-lang,C-feature-request

Ideally we should be able to do something like this:
Cargo.toml:

```
.....
[lib]
path = "src/lib.rs"
crate-type = ["rlib","dylib"]
.....
```

src/lib.rs:

```
....
#[no_mangle]
#[cfg(crate_type="dylib")]
pub unsafe extern "C" fn .....
```

To allow only exporting the c api in the dylib or perhaps in the dylib and static lib and not in the rust code.
This would be consistent with being able to build multiple library formats but allow the unsafe c methods to not be exported to rust code.

I checked against: http://doc.rust-lang.org/reference.html#conditional-compilation
and did some experimentation myself, with no luck.

If anyone has any better suggestions, I'd love to hear them.

I'm looking to generate very similar rust and c libraries with similar apis where the c library is just a c style wrapper around the rust api, also written in rust. Ideally i'd keep this in a single source and conditionally define the c api's in the dylib for loading from various languages with c ffi's and exclude the c api from the rust lib.
Repository: rust
Issue: Use of `ty` macro non-terminal in trait bounds
Labels: A-grammar,T-lang,C-feature-request

```
macro_rules! impl_somethingable {
    ($Base: ty, $Block:ty) => {
        impl<'a, T> Somethingable for $Block where T: $Base {
        }
    }
}

impl_somethingable!(ATrait, A);
```

```
<anon>:15:52: 15:60 error: each predicate in a `where` clause must have at least one bound in it
<anon>:15         impl<'a, T> Somethingable for $Block where T: $Base {
                                                             ^~~~~~~~
<anon>:15:56: 15:60 error: expected one of `,` or `{`, found `ATrait`
<anon>:15         impl<'a, T> Somethingable for $Block where T: $Base {
                                                                 ^~~~
```

The solution is to use `$ident` instead of `$ty`, but this is non-obvious to the user, especially since it's perfectly ok to have `ATrait` in that location.

Playpen: http://is.gd/AMUJDw

cc @huonw
Repository: youtube-dl
Issue: Add support for nintendo.com
Labels: site-support-request

Hello,

Could you please add support for videos on nintendo.com?

Here are some examples:
http://www.nintendo.com/games/detail/yEiAzhU2eQI1KZ7wOHhngFoAHc1FpHwj
http://www.nintendo.com/wiiu/videos/#all/Why_You_Want_Wii_U
http://www.nintendo.com/nintendo-direct/04-30-2014/#/video-ndirect

```
$ youtube-dl "http://www.nintendo.com/wiiu/videos/#all/Why_You_Want_Wii_U" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.nintendo.com/wiiu/videos/#all/Why_You_Want_Wii_U', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.17.2
[debug] Python version 2.7.6 - Darwin-14.0.0-x86_64-i386-64bit
[debug] exe versions: rtmpdump 2.4
[debug] Proxy map: {}
[generic] Why_You_Want_Wii_U: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Why_You_Want_Wii_U: Downloading webpage
[generic] Why_You_Want_Wii_U: Extracting information
ERROR: Unsupported URL: http://www.nintendo.com/wiiu/videos/#all/Why_You_Want_Wii_U; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 660, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1444, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 651, column 139
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 592, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 243, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1060, in _real_extract
    raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.nintendo.com/wiiu/videos/#all/Why_You_Want_Wii_U; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

$ 
```
Repository: rust
Issue: cache the results of type projection and normalization
Labels: C-cleanup,I-compiletime,A-associated-items,T-compiler

Both in trans and in typeck. Must be somewhat careful around type parameters and so forth. Probably we want to introduce a cache onto the fulfillment context to use for normalization as well.
Repository: go
Issue: testing/iotest: add two new readers
Labels: FeatureRequest

Just in case there is interest, here are two other badly-behaved reader types that might make useful additions to `testing/iotest`:

``` go

// ZeroNilReader returns 0, nil on every second read. Other calls to read succeed.
func ZeroNilReader(r io.Reader) io.Reader

// CorruptingReader returns a Reader that modifies any unused portion of the byte slice passed to Read.
// It is useful in conjunction with OneByteReader.
func CorruptingReader(r io.Reader) io.Reader
```

```
```
Repository: nvm
Issue: .nvmrc should override default in new shells
Labels: feature requests

I'd like to use the stable node version as the default, but use a specific version automatically if I open a shell in a directory with a `.nvmrc`.

Currently, if I specify a default alias, that default overrides `.nvmrc` until I manually run `nvm use`.
Repository: rust
Issue: Can't write non-overlapping blanket impls that involve associated type bindings
Labels: A-trait-system,A-associated-items,T-lang,C-bug,needs-rfc

### STR

Example from libcore:

``` rust
#![crate_type = "lib"]
#![feature(associated_types)]
#![no_implicit_prelude]

trait Iterator {
    type Item;
}

trait AdditiveIterator {
    type Sum;

    fn sum(self) -> Self::Sum;
}

impl<I> AdditiveIterator for I where I: Iterator<Item=u8> {  //~error conflicting implementation
    type Sum = u8;

    fn sum(self) -> u8 { loop {} }
}

impl<I> AdditiveIterator for I where I: Iterator<Item=u16> {  //~note conflicting implementation here
    type Sum = u16;

    fn sum(self) -> u16 { loop {} }
}
```
### Version

7d4f487

No type can implement _both_ `Iterator<Item=u8>` and `Iterator<Item=u16>`, therefore these blanket impls are non overlapping and should be accepted.

cc @nikomatsakis
Repository: go
Issue: x/build: tracking bug for macOS virtualization
Labels: OS-Darwin,Builders

I'd like to get OS X builders running in VMs too.

(Related to #9492 and https://golang.org/s/builderplan)

Looks like virtualizing OS X 10.7+ is legal (but not 10.6) as long as it's only 1 copy, and on official Apple hardware.  Considering that we already run Go builders on official Mac hardware in the office, we can continue to do so, but with a VM solution.

And looks like VMWare Fusion has the "vmrun" command, documented at http://www.vmware.com/pdf/vix162_vmrun_command.pdf , so we can write a little API server that runs on the OS X host and calls vmrun.

/cc @adg
Repository: neovim
Issue: "set lines=999 columns=999" causes layout issues
Labels: ui,bug-vim,display,startup

I just built a fresh version of neovim to confirm this.  I can reproduce with TERM=screen-256color and TERM=xterm and with both terminator and xterm.  When I run nvim I see a console like this:

[<img src="http://i.imgur.com/NkGDiya.png" />](http://i.imgur.com/NkGDiya.png)

Vim looks fine:

[<img src="http://i.imgur.com/n6lfmXC.png" />](http://i.imgur.com/n6lfmXC.png)

**UPDATE**: It turns out that it's caused by the following lines in my .nvimrc:

```
function! FontNormal()
  if has("gui_win32")
    set guifont=Consolas:h11
  else
    set guifont=Terminus\ 8
  endif
  set lines=999 columns=999             " Maximize the window
endfunction

call FontNormal()
```

I'll wrap it in a conditional, but the fact that this causes problems in nvim and not vim seems like a regression to me.
Repository: youtube-dl
Issue: [NRKTV] When playing with VLC the audio is corrupted
Labels: bug

Reported on IRC:
For example the test url http://tv.nrk.no/serie/20-spoersmaal-tv/MUHH48000314/23-05-2014 or http://tv.nrk.no/serie/bare-en-mann-bjoern-eidsvaag/MUHU20002114/02-01-2015, after a few seconds the audio doesn't play correctly, if you download the video with AdobeHDS.php it plays fine.
Repository: youtube-dl
Issue: Add support for apple.com
Labels: site-support-request

Hello,

Could you please add support for videos on apple.com?

Here are some examples:
http://www.apple.com/apple-events/2014-oct-event/
http://www.apple.com/ipad-air-2/change/

The video on the second link is slightly different, it only shows up after the "Watch the film" button is clicked. (Most of the non-event videos are like this.)

```
$ youtube-dl --verbose http://www.apple.com/apple-events/2014-oct-event/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.apple.com/apple-events/2014-oct-event/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.01.04
[debug] Python version 2.7.6 - Darwin-14.0.0-x86_64-i386-64bit
[debug] exe versions: rtmpdump 2.4
[debug] Proxy map: {}
[generic] 2014-oct-event: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 2014-oct-event: Downloading webpage
[generic] 2014-oct-event: Extracting information
ERROR: Unsupported URL: http://www.apple.com/apple-events/2014-oct-event/
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 669, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1451, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 7, column 1232
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 592, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 245, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1074, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.apple.com/apple-events/2014-oct-event/

$ 
```
Repository: go
Issue: net: add support for FileConn, FilePacketConn, FileListener on windows
Labels: help wanted,OS-Windows,FeatureRequest

Issue for discussion.

FileListener is useful to implement graceful-restart server. ex: https://github.com/lestrrat/go-server-starter

I know windows doesn't have a way to pass FDs to external process like UNIX OSs.
But it's not impossible. WSADuplicateSocket can export intormation of file descriptor as WSAPROTOCOL_INFO to specified process. This structure is possible to be written to a file as byte array.

http://msdn.microsoft.com/ja-jp/library/windows/desktop/ms741565(v=vs.85).aspx

How about implementation of os.File.dup, os.FileListener on windows?

https://codereview.appspot.com/177590043/
Repository: go
Issue: x/build/dashboard: add an Arch Linux builder
Labels: Builders,new-builder

Noticing the build failure in #9437 on Arch Linux, perhaps we should have an Arch builder.

Looks like it wouldn't be too hard, since an official Arch Linux Docker template exists: https://registry.hub.docker.com/u/base/archlinux/
Repository: youtube-dl
Issue: Unsupported URL: http://www.lemouv.fr/rone-apache-binaural
Labels: site-support-request

```
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.lemouv.fr/rone-apache-binaural', '-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.01.05
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.7
[debug] exe versions: avconv 0.8.16-6, avprobe 0.8.16-6, ffmpeg 0.8.16-6, ffprobe 0.8.16-6, rtmpdump 2.4
[debug] Proxy map: {}
[generic] rone-apache-binaural: Requesting header
WARNING: Falling back on generic information extractor.
[generic] rone-apache-binaural: Downloading webpage
[generic] rone-apache-binaural: Extracting information
ERROR: Unsupported URL: http://www.lemouv.fr/rone-apache-binaural
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 670, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1451, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 20, column 65
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 592, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 245, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1075, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.lemouv.fr/rone-apache-binaural
```
Repository: rust
Issue: Package debug libstd with binaries
Labels: A-debuginfo,P-low,T-bootstrap,T-infra,C-feature-request

For debugging it's useful to have a debug build of std. Figuring out how to make the debugger actually locate the source in all scenarios could be complicated.
Repository: go
Issue: encoding/xml: support for XML namespace prefixes
Labels: NeedsFix,early-in-cycle

Marshal-ing data back to XML does not seem to support namespace prefixes..  For example:

https://play.golang.org/p/6CY71H7mb4

The input XML is: &lt;stix:STIX_Package&gt;, but when it writes it back out it does &lt;STIX_Package xmlns="stix"&gt;

Also, there does not appear to be any data elements like xml.Name for adding namespaces to a struct....  Something maybe like xml.NS????
Repository: rust
Issue: where clauses are only elaborated for supertraits, and not other things
Labels: A-type-system,A-trait-system,T-compiler,C-bug,T-types

The following example:

``` rust
trait Foo<T> {
   fn foo(&self) -> &T;
}

trait Bar<A> where A: Foo<Self> {}

fn foobar<A, B: Bar<A>>(a: &A) -> &B {
   a.foo()
}
```

fails with "error: type `&A` does not implement any method in scope named `foo`".

This UFCS variant

``` rust
trait Foo<T> {
    fn foo(&self) -> &T;
}

trait Bar<A> where A: Foo<Self> {}

fn foobar<A, B: Bar<A>>(a: &A) -> &B {
    Foo::foo(a)
}
```

fails with "error: the trait `Foo<_>` is not implemented for the type `A`".
Repository: rust
Issue: Normalization of projections in trait bounds on associated types
Labels: A-associated-items,T-compiler,C-bug

Related to #20765 we should do more normalization in order for this test to pass:

``` rust
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// Test where the bounds in the trait use projections rather than the
// canonical form.

trait Foo
{
    type T;
}

trait Bar<A:Foo<T=B>,B>
{
    type F : Baz<A::T>;
}

trait Baz<A> { }

fn foo<I:Bar<J,K>,J,K>()
{
    // Based on trait, we can conclude that
    //    I::F : Baz<J::T>
    // and
    //    J::T == K
    // hence
    //    I::F : Baz<K>
    // which is what `bar` expects.
    bar::<I::F,K>()
}

fn bar<IF, K>()
    where IF : Baz<K>
{
}

fn main ()
{
}
```
Repository: neovim
Issue: autoread ALL files (avoid W13 warning)
Labels: enhancement,complexity:low,events,filesystem

What I mean by newly created file is when a buffer that doesn't have a corresponding file on disk (think BufNewFile) suddenly does (triggering W13). I'll sometimes have buffers open for files that don't exist in a session either because they are on an external drive that isn't mounted or in an encrypted volume that isn't mounted. When files suddenly exist, vim gives a warning (W13) and prompts for every single file whether to load or ignore.

I think a setting like autoread but specifically for this case would be nice. Having it set would mean that no W13 messages would pop up, and it would be as if the user had chosen to load every file. That or some autocommand that could be used to prevent a W13 from happening. FileChangedShell is similar idea (though for all buffers) but doesn't execute when a W13 does.
Repository: go
Issue: cmd/vet: warn about assembly functions using fully qualified name
Labels: Analysis

See golang.org/cl/2588 for a full description.

cc @minux
Repository: rust
Issue: Cannot infer closure type with higher-ranked lifetimes inside Box::new
Labels: A-type-system,C-enhancement,P-low,A-closures,T-lang,T-compiler,E-medium,T-types

In the code below, type inference works in the first line of `main()`, but fails in the second one. Note also that the "kind" of the closure has to be given with explicit syntax when inside `Box::new()`.

``` rust
fn do_async<F>(_cb: Box<F>) where F: FnOnce(&i32) {
}

fn do_async_unboxed<F>(cb: F) where F: FnOnce(&i32) {
    do_async(Box::new(cb))
}

fn main() {
    do_async_unboxed(|x| { println!("{}", *x); });
    do_async(Box::new(|: x| { println!("{}", *x); }));
}
```
Repository: TypeScript
Issue: QuickInfo shows icon and name of item type
Labels: Suggestion,Help Wanted,API

![image](https://cloud.githubusercontent.com/assets/7121557/5689991/6c25970e-9827-11e4-9eb6-32183661a747.png)

We're showing the purple cube that means method but also the text (method). It should be unnecessary to show both. Likewise:

![image](https://cloud.githubusercontent.com/assets/7121557/5689993/74414514-9827-11e4-9430-8cb1afb08b47.png)

We're showing the interface icon and the word interface.
Repository: rust
Issue: Improve docs rendering performance by addressing PageSpeed Insights issues
Labels: T-rustdoc,C-enhancement,E-help-wanted

[Results from PageSpeed](https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fdoc.rust-lang.org%2Fnightly%2Fbook%2Fownership.html&tab=desktop).

The easy ones are setting up cache expiration times for the font & css files and minifying the CSS. Eliminating render-blocking JavaScript and CSS in above-the-fold content is a bit harder, but shouldn't be too much work for a static site.
Repository: go
Issue: cmd/cgo: generates far too many //line pragmas
Labels: NeedsInvestigation

```
// Created by cgo - DO NOT EDIT

//line issue9557.go:1
package main
//line issue9557.go:4

//line issue9557.go:3
import (
        "fmt"
)
//line issue9557.go:21

//line issue9557.go:20
type bar struct {
        a int
}
//line issue9557.go:25

//line issue9557.go:24
var buzz *bar
//line issue9557.go:27

//line issue9557.go:26
func init() {
        buzz = &bar{}
}
//line issue9557.go:31
```
Repository: nvm
Issue: Add Changelog
Labels: pull request wanted

Hey, first off thank you so much for the amazing tool! It's proven to be indispensable for me and my team.

I know it's been mentioned that plans are to add an automatic changelog generator but I thought I'd add an official request here. A changelog (CHANGELOG.md) would really be helpful in updating my nvm's so I didn't need to read commit messages.
Repository: go
Issue: x/mobile: create a package for the Mobile Ads SDK
Labels: NeedsDecision,mobile

See https://github.com/googleads/googleads-mobile-plugins for a similar Unity plugin.
Repository: go
Issue: x/review/git-codereview: query both remote.origin.pushurl and remote.origin.url to determine the gerrit URL?
Labels: NeedsInvestigation

remote.origin.pushurl should override remote.origin.url in
this case.

It's reasonable to set only the pushurl to a Gerrit instance,
and still pull from github.
Repository: go
Issue: cmd/cgo: macros for C field names not recognized by cgo
Labels: NeedsInvestigation

The linux manpage ipv6(7) states that in6_addr is a C struct containing an unsigned char array[16] with name s6_addr. When compiling a C program, this works:

``` C
#include <stdio.h>
#include <netinet/in.h>

int main() {
  struct in6_addr addr;
  printf("%s\n", addr.s6_addr);
}
```

However, the following Go program does not compile with the error `addr.s6_addr undefined (type C.struct_in6_addr has no field or method s6_addr)`:

``` Go
package main

// #include <netinet/in.h>
// #include <sys/socket.h>
import "C"

import "fmt"

func main() {
    // See man 7 ipv6
    var addr C.struct_in6_addr
    fmt.Printf("%v", addr.s6_addr)
}
```

Testing with `go tool cgo` reveals that the struct used is defined in in.h, and thus using `addr.__in6_u` works with go.

When the include file `linux/in6.h` is included, and `go tool cgo -- -D__USE_KERNEL_IPV6_DEFS test.go` is run, the correct (man page) definition of `struct in6_addr` shows up in `_obj/_cgo_gotypes.go`.  I do not know how to get go to compile this correctly however.

Go version used is go version go1.3.3 linux/amd64. Contact me if you need any more information.
Repository: rust
Issue: deny(warnings) doesn't affect all warnings, only those generated through the lint system
Labels: A-lints,A-diagnostics,P-low,T-compiler,C-bug
Repository: go
Issue: test: comprehensive testing of narrowing binary operations
Labels: NeedsInvestigation

#9604 highlighted that more testing of narrowing binary operations is required.
Repository: go
Issue: runtime: support partial object collection in GC
Labels: GarbageCollector

It recycles well here (http://play.golang.org/p/qaQaETyZvQ), which appends 1000 elements and not use the slice anymore.

But it doesn't recycle the slice if I make a 1000-element slice first and not use it anymore. (http://play.golang.org/p/CQXs3Rpjae)

If I set some elements in the slice to nil, they can be recycled then. (http://play.golang.org/p/qvYLLZPY74)

I think it should be recycled in all these cases.
Repository: rust
Issue: Consider making std::thread::Builder reusable
Labels: T-libs-api,C-feature-request

Consider making `std::thread::Builder` reusable or have a reusable variant. This would be a helpful construct to use as part of a thread pool or any other abstraction that spawns threads.
Repository: kubernetes
Issue: rlimit support
Labels: priority/important-soon,area/isolation,sig/node,kind/feature

https://github.com/docker/docker/issues/4717#issuecomment-70373299

Now that this is in, we should define how we want to use it.