Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
Description
If operations are running in a background thread, the user is not prompted to kill them when they ctrl-c the shell.
Aaron-Staples-MacBook-Pro:mongo10 aaron$ ./mongo
|
MongoDB shell version: 2.1.1-pre-
|
connecting to: test
|
> db.c.save( {} )
|
> t = fork( function() { db.c.count( { $where:function() { while( 1 ); } } ) } );
|
{
|
"init" : function () { [native code] },
|
"start" : function () { [native code] },
|
"join" : function () { [native code] },
|
"returnData" : function () { [native code] }
|
}
|
> t.start()
|
connecting to: test
|
> ^C
|
bye
|
Attachments
Issue Links
- related to
-
SERVER-5485 implement thread safety for shell utils, using fine grained locking
-
- Closed
-