aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/google.golang.org/appengine/appengine_vm.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/google.golang.org/appengine/appengine_vm.go')
-rw-r--r--vendor/google.golang.org/appengine/appengine_vm.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/google.golang.org/appengine/appengine_vm.go b/vendor/google.golang.org/appengine/appengine_vm.go
new file mode 100644
index 000000000..f4b645aad
--- /dev/null
+++ b/vendor/google.golang.org/appengine/appengine_vm.go
@@ -0,0 +1,20 @@
+// Copyright 2015 Google Inc. All rights reserved.
+// Use of this source code is governed by the Apache 2.0
+// license that can be found in the LICENSE file.
+
+// +build !appengine
+
+package appengine
+
+import (
+ "golang.org/x/net/context"
+
+ "google.golang.org/appengine/internal"
+)
+
+// BackgroundContext returns a context not associated with a request.
+// This should only be used when not servicing a request.
+// This only works in App Engine "flexible environment".
+func BackgroundContext() context.Context {
+ return internal.BackgroundContext()
+}
* Fix typos and make small modifications in COMMENT (according to Porter'scs2012-08-031-1/+1 * - Remove SITE_PERL from *_DEPENDSaz2012-06-301-1/+1 * In the rc.d scripts, change assignments to rcvar to use thedougb2012-01-142-2/+2 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-1/+1 * - Get Rid MD5 supportmiwi2011-03-201-2/+0 * Also not for powerpc.linimon2010-04-011-1/+1 * Begin the process of deprecating sysutils/rc_subr bydougb2010-03-272-2/+2 * - Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MA...pav2008-07-251-3/+1 * Add backup sites.nork2008-06-011-1/+3 * Update to 6.0.3.nork2008-06-0115-151/+181 * - Mark BROKEN with GCC 4.2 on !i386 (cast from void to int loses precision)pav2007-11-131-1/+7 * Add no support architectures information.nork2007-10-141-7/+3 * Mark as broken on gcc4.2. While here, add USE_PERL5, which is necessarylinimon2007-10-011-1/+8 * - Give this a chance to build on pointyhatpav2007-08-011-0/+2 * Oops, I forgot to remove StreamingLoadTool.nork2007-07-091-1/+0 * Update to 5.5.5.nork2007-07-095-47/+7 * Remove the IGNORE logic; this should have been done in r1.22.linimon2007-04-231-4/+0 * Fix wrong handling command line arguments.nork2007-02-107-4/+76