mono.git
12 years agoAOT not supported on Windows, warn the user
Miguel de Icaza [Tue, 24 Apr 2012 04:08:16 +0000 (00:08 -0400)]
AOT not supported on Windows, warn the user

12 years agoAdd these to MOBILE as well
Miguel de Icaza [Mon, 23 Apr 2012 22:49:48 +0000 (18:49 -0400)]
Add these to MOBILE as well

12 years agoHandle type merging when there is a shared iface. Fixes #4180.
Rodrigo Kumpera [Mon, 23 Apr 2012 18:37:51 +0000 (15:37 -0300)]
Handle type merging when there is a shared iface. Fixes #4180.

12 years ago[build] Try to enable parallel make on RPM build
Jeremie Laval [Mon, 23 Apr 2012 18:16:36 +0000 (19:16 +0100)]
[build] Try to enable parallel make on RPM build

12 years agoImplement more System.Net.Http tostring methods
Marek Safar [Mon, 23 Apr 2012 17:38:00 +0000 (18:38 +0100)]
Implement more System.Net.Http tostring methods

12 years agoFix leak by releasing the certificate elements from the CFArray since it was created...
Sebastien Pouliot [Mon, 23 Apr 2012 17:40:58 +0000 (13:40 -0400)]
Fix leak by releasing the certificate elements from the CFArray since it was created with a null CFArrayCallBacks

12 years agoFix leak when an error message is returned from sqlite3_exec
Sebastien Pouliot [Mon, 23 Apr 2012 17:34:42 +0000 (13:34 -0400)]
Fix leak when an error message is returned from sqlite3_exec

12 years agoMerge pull request #277 from konrad-kruczynski/master
Rodrigo Kumpera [Mon, 23 Apr 2012 16:38:30 +0000 (09:38 -0700)]
Merge pull request #277 from konrad-kruczynski/master

FIx for problem with MRES.Wait(timeout, token) with not immediate Set

12 years agoBump test timeout
Marek Safar [Mon, 23 Apr 2012 16:06:43 +0000 (17:06 +0100)]
Bump test timeout

12 years agoDisable failing test
Marek Safar [Mon, 23 Apr 2012 16:02:04 +0000 (17:02 +0100)]
Disable failing test

12 years agoAdd another partially working parser hack. Fixes #4556
Marek Safar [Mon, 23 Apr 2012 15:56:00 +0000 (16:56 +0100)]
Add another partially working parser hack. Fixes #4556

12 years agoAnother fix and unit test added.
Konrad M. Kruczynski [Mon, 23 Apr 2012 13:44:16 +0000 (15:44 +0200)]
Another fix and unit test added.

Now all three possible cases are tested (and working).

12 years agoAvoid setting thread->abort_exc in mono_raise_exception_with_ctx too ().
Zoltan Varga [Mon, 23 Apr 2012 13:19:43 +0000 (15:19 +0200)]
Avoid setting thread->abort_exc in mono_raise_exception_with_ctx too ().

12 years agoAvoid setting thread->abort_exc in mono_raise_exception (), it was already done....
Zoltan Varga [Mon, 23 Apr 2012 13:15:17 +0000 (15:15 +0200)]
Avoid setting thread->abort_exc in mono_raise_exception (), it was already done. Fixes #4413.

12 years agoAvoid keeping the dummy values computed by setup_interface_offsets () when it is...
Zoltan Varga [Mon, 23 Apr 2012 12:34:22 +0000 (14:34 +0200)]
Avoid keeping the dummy values computed by setup_interface_offsets () when it is called from mono_class_setup_interface_offsets (). Fixes #4440.

12 years agoFixes as per the Rodrigo's comment.
Konrad M. Kruczynski [Mon, 23 Apr 2012 10:02:09 +0000 (12:02 +0200)]
Fixes as per the Rodrigo's comment.

Wait now throws an exception in case of cancellation token was
cancelled.

12 years agoWhen running in MonoTouch, compare against a reference image, instead of generating...
Miguel de Icaza [Mon, 23 Apr 2012 01:11:09 +0000 (21:11 -0400)]
When running in MonoTouch, compare against a reference image, instead of generating the reference image

12 years agoAdd concurrent-sweep to sgen's testing matrix.
Rodrigo Kumpera [Mon, 23 Apr 2012 00:08:26 +0000 (21:08 -0300)]
Add concurrent-sweep to sgen's testing matrix.

12 years agoFix concurrent sweep thread start code to actually work.
Rodrigo Kumpera [Mon, 23 Apr 2012 00:02:59 +0000 (21:02 -0300)]
Fix concurrent sweep thread start code to actually work.

12 years agoFix for bug in ManualResetEventSlim.
Konrad M. Kruczynski [Sun, 22 Apr 2012 20:24:14 +0000 (22:24 +0200)]
Fix for bug in ManualResetEventSlim.

The problem occured when one waited for an event with the
cancellation token and the wait was successful but not
immediate. In that case Wait returned false instead of true,
because of wait handle number mismatch. Also the unit test was
added.

12 years agoAdd inline api docs for mono_dll_insert
Miguel de Icaza [Sat, 21 Apr 2012 01:26:05 +0000 (21:26 -0400)]
Add inline api docs for mono_dll_insert

12 years agoUpdate man page with valid values for new parameters.
Rodrigo Kumpera [Fri, 20 Apr 2012 23:35:22 +0000 (20:35 -0300)]
Update man page with valid values for new parameters.

12 years agoRemove the element if SetElement sets the value to null.
Duncan Mak [Fri, 20 Apr 2012 20:04:46 +0000 (16:04 -0400)]
Remove the element if SetElement sets the value to null.

12 years agoBump version
Miguel de Icaza [Fri, 20 Apr 2012 20:24:37 +0000 (16:24 -0400)]
Bump version

12 years ago[monodoc] Fix XSL issue with Microsoft/.NET XSL compiler
Jeremie Laval [Fri, 20 Apr 2012 18:52:12 +0000 (19:52 +0100)]
[monodoc] Fix XSL issue with Microsoft/.NET XSL compiler

12 years ago[monodoc] Fix XSL extension object incompatibility to run on Windows/.NET
Jeremie Laval [Fri, 20 Apr 2012 18:51:13 +0000 (19:51 +0100)]
[monodoc] Fix XSL extension object incompatibility to run on Windows/.NET

12 years agoAvoid key duplication error from bogus ContentType
Gonzalo Paniagua Javier [Fri, 20 Apr 2012 17:57:22 +0000 (13:57 -0400)]
Avoid key duplication error from bogus ContentType

Fixes bug #4542.

12 years agoFix aspnetwebstack
Marek Safar [Fri, 20 Apr 2012 15:13:25 +0000 (16:13 +0100)]
Fix aspnetwebstack

12 years agoReport less cascading errors
Marek Safar [Fri, 20 Apr 2012 15:11:13 +0000 (16:11 +0100)]
Report less cascading errors

12 years agoRemove runtime regression tests, nobody is going to fix them anyway
Marek Safar [Fri, 20 Apr 2012 15:09:52 +0000 (16:09 +0100)]
Remove runtime regression tests, nobody is going to fix them anyway

12 years agoAvoid duplicate errors on indexer parameters
Marek Safar [Fri, 20 Apr 2012 11:18:58 +0000 (12:18 +0100)]
Avoid duplicate errors on indexer parameters

12 years agoDon't run member verification twice on nested types
Marek Safar [Fri, 20 Apr 2012 10:49:29 +0000 (11:49 +0100)]
Don't run member verification twice on nested types

12 years agoFix wrong error message
Marek Safar [Fri, 20 Apr 2012 10:42:11 +0000 (11:42 +0100)]
Fix wrong error message

12 years agoClear session error messages after successful type inference
Marek Safar [Fri, 20 Apr 2012 10:36:01 +0000 (11:36 +0100)]
Clear session error messages after successful type inference

12 years agoAdd new test
Marek Safar [Fri, 20 Apr 2012 09:31:37 +0000 (10:31 +0100)]
Add new test

12 years agoFix task delay tests
Marek Safar [Fri, 20 Apr 2012 09:30:56 +0000 (10:30 +0100)]
Fix task delay tests

12 years agoImplements System.Net.Http MultipartContent
Marek Safar [Fri, 20 Apr 2012 08:17:49 +0000 (09:17 +0100)]
Implements System.Net.Http MultipartContent

12 years agoadd bonus mobile build in System.Data.Linq (not sure if it works well yet).
Atsushi Eno [Fri, 20 Apr 2012 14:11:34 +0000 (23:11 +0900)]
add bonus mobile build in System.Data.Linq (not sure if it works well yet).

12 years agoSome small changes to assist Coregraphics System.Drawing
Miguel de Icaza [Fri, 20 Apr 2012 04:36:44 +0000 (00:36 -0400)]
Some small changes to assist Coregraphics System.Drawing

12 years agoDocument new sgen options in the man page.
Rodrigo Kumpera [Thu, 19 Apr 2012 20:22:11 +0000 (17:22 -0300)]
Document new sgen options in the man page.

12 years agoAdd two tunning knobs to the split nursery.
Rodrigo Kumpera [Thu, 19 Apr 2012 19:41:23 +0000 (16:41 -0300)]
Add two tunning knobs to the split nursery.

12 years agoAdjust split nursery defaults to be more aggressive. In line with common workloads.
Rodrigo Kumpera [Thu, 19 Apr 2012 19:21:25 +0000 (16:21 -0300)]
Adjust split nursery defaults to be more aggressive. In line with common workloads.

12 years agoSpeedup minor collections a small bit.
Rodrigo Kumpera [Thu, 19 Apr 2012 18:01:00 +0000 (15:01 -0300)]
Speedup minor collections a small bit.

* sgen-split-nursery.c: The alloc functions are only called
for nursery objects during a minor collection. So we can move
this check to a separate function and let only the major GC
pay for it.

12 years agoImplement aging for the parallel nursery.
Rodrigo Kumpera [Thu, 19 Apr 2012 17:58:23 +0000 (14:58 -0300)]
Implement aging for the parallel nursery.

12 years agoImplement aging in the split nursery.
Rodrigo Kumpera [Wed, 18 Apr 2012 21:07:22 +0000 (18:07 -0300)]
Implement aging in the split nursery.

* sgen-split-nursery.c: Implement aging. Age information is
stored in 512 byte buckets in parallel to the nursery.
This increases our bandwidth requirements by a small bit
but has the advantage not requiring us to mess with the
status word of objects.

Reducing the number of available bits for hashing sounded
like a specially bad idea since ages above 1 are not very
usefull unless you're a long living object.

The object promotion code was split into a fast/slow path
since we now have per-age bump allocators. The fast path
is extremely efficient and does only 3 comparisons and a
bunch of cache hot lookups.

12 years ago[Mono.Debugger.Soft] Added method invokation support to PrimitiveValue
Jeffrey Stedfast [Thu, 19 Apr 2012 21:21:17 +0000 (17:21 -0400)]
[Mono.Debugger.Soft] Added method invokation support to PrimitiveValue

Needed to fix bug #1258.

12 years agoFix XmlAttributes to ignore all XmlAttributes if XmlIgnore is present
Rolf Bjarne Kvinge [Thu, 19 Apr 2012 15:10:26 +0000 (17:10 +0200)]
Fix XmlAttributes to ignore all XmlAttributes if XmlIgnore is present

12 years agoIgnore XmlIgnore attributes when importing members in XmlReflectionImporter. Fixes...
Rolf Bjarne Kvinge [Thu, 19 Apr 2012 14:30:07 +0000 (16:30 +0200)]
Ignore XmlIgnore attributes when importing members in XmlReflectionImporter. Fixes #4367.

12 years agoSet path for a custom tests
Marek Safar [Thu, 19 Apr 2012 19:12:33 +0000 (20:12 +0100)]
Set path for a custom tests

12 years ago[monodoc] Remove System.Web.dll dependency
Jeremie Laval [Thu, 19 Apr 2012 17:00:40 +0000 (18:00 +0100)]
[monodoc] Remove System.Web.dll dependency

Since this was causing problems for Windows and the calls used (UrlDecode/Encode) could be easily replaced by Uri methods, I just ripped out the dependency althogether.

12 years agoremove this internal getter, from https://github.com/jbevain/cecil/commit/e9f7b3bf395...
Miguel de Icaza [Thu, 19 Apr 2012 14:57:34 +0000 (10:57 -0400)]
remove this internal getter, from https://github.com/jbevain/cecil/commit/e9f7b3bf39567cb7268e3e7490ab0c253b990606#commitcomment-1230204

12 years agoSmall touch up in the DrawingTest
Miguel de Icaza [Sun, 15 Apr 2012 01:57:25 +0000 (21:57 -0400)]
Small touch up in the DrawingTest

12 years agoFix make dist
Marek Safar [Thu, 19 Apr 2012 10:56:13 +0000 (11:56 +0100)]
Fix make dist

12 years agoFix make dist
Marek Safar [Thu, 19 Apr 2012 09:55:35 +0000 (10:55 +0100)]
Fix make dist

12 years agoFix test file
Marek Safar [Thu, 19 Apr 2012 09:49:38 +0000 (10:49 +0100)]
Fix test file

12 years agoDelete obsolete files
Marek Safar [Thu, 19 Apr 2012 09:43:33 +0000 (10:43 +0100)]
Delete obsolete files

12 years agoFix VersionTolerantSerialization to use active profile
Marek Safar [Thu, 19 Apr 2012 09:39:58 +0000 (10:39 +0100)]
Fix VersionTolerantSerialization to use active profile

12 years agoAdd new test
Marek Safar [Thu, 19 Apr 2012 08:21:37 +0000 (09:21 +0100)]
Add new test

12 years agoCheck for duplicate class name in different source files.
Marek Safar [Wed, 18 Apr 2012 18:21:53 +0000 (19:21 +0100)]
Check for duplicate class name in different source files.

12 years agoBetter check for missing dependencies for method overloads. Fixes #4457
Marek Safar [Wed, 18 Apr 2012 17:51:09 +0000 (18:51 +0100)]
Better check for missing dependencies for method overloads. Fixes #4457

12 years agoAdd missing reference.
Marek Safar [Wed, 18 Apr 2012 17:47:44 +0000 (18:47 +0100)]
Add missing reference.

12 years agoAdd 4.5 example to help page
Marek Safar [Wed, 18 Apr 2012 15:33:05 +0000 (16:33 +0100)]
Add 4.5 example to help page

12 years agoClean up session error reporting used for lambdas type inference
Marek Safar [Wed, 18 Apr 2012 10:33:12 +0000 (11:33 +0100)]
Clean up session error reporting used for lambdas type inference

12 years agoMerge upstream ikvm reflection bug fix
Marek Safar [Wed, 18 Apr 2012 07:37:55 +0000 (08:37 +0100)]
Merge upstream ikvm reflection bug fix

12 years agoBring jbevain/cecil's commit 7d9999c60bd538a19a84f1211064ef104f07ee82, Fix writing...
Miguel de Icaza [Wed, 18 Apr 2012 22:52:42 +0000 (18:52 -0400)]
Bring jbevain/cecil's commit 7d9999c60bd538a19a84f1211064ef104f07ee82, Fix writing of delay-signed assemblies

12 years agoBring jbevain/cecil's commit fb8dcbabcfbb611faeb47f1db53d54022ead2551, style fixes
Miguel de Icaza [Wed, 18 Apr 2012 22:51:39 +0000 (18:51 -0400)]
Bring jbevain/cecil's commit fb8dcbabcfbb611faeb47f1db53d54022ead2551, style fixes

12 years agoBring jbevain/cecil's commit 4ef434e294031c985cc98a81004d254e6ecb269a, Do not write...
Miguel de Icaza [Wed, 18 Apr 2012 22:51:15 +0000 (18:51 -0400)]
Bring jbevain/cecil's commit 4ef434e294031c985cc98a81004d254e6ecb269a, Do not write a reloc section for pe64 assemblies

12 years agoBring jbevain/cecil's commit a2c944bd45b81443fd61cfd27d98ff551fa6938c, Add enum value...
Miguel de Icaza [Wed, 18 Apr 2012 22:49:40 +0000 (18:49 -0400)]
Bring jbevain/cecil's commit a2c944bd45b81443fd61cfd27d98ff551fa6938c, Add enum value and properties for Windows Runtime..

12 years agoBring jbevain/cecil's commit 4b68f887b9a6a0a2b5ae268545f8d2d8ae3abe0d, Add support...
Miguel de Icaza [Wed, 18 Apr 2012 22:49:08 +0000 (18:49 -0400)]
Bring jbevain/cecil's commit 4b68f887b9a6a0a2b5ae268545f8d2d8ae3abe0d, Add support for reading the new target platforms in C# 5: ARM and AnyCPU32BitPreferred.

12 years agoBring jbevain/cecil's commit dfb8329f5ac41f7eaffaef00d3de8b75f4308c87, Fix ComputeSta...
Miguel de Icaza [Wed, 18 Apr 2012 22:48:29 +0000 (18:48 -0400)]
Bring jbevain/cecil's commit dfb8329f5ac41f7eaffaef00d3de8b75f4308c87, Fix ComputeStackDelta() for calli instruction.

12 years agoBring jbevain/cecil's commit 1d446c76e9a706b9e8d3950760fe30dd09d1efed, Expose the...
Miguel de Icaza [Wed, 18 Apr 2012 22:48:09 +0000 (18:48 -0400)]
Bring jbevain/cecil's commit 1d446c76e9a706b9e8d3950760fe30dd09d1efed, Expose the debug header

12 years agoBring jbevain/cecil's commit cf83e6fdbe0f6b676521ba641174a3085af60d0b, Expose ModuleD...
Miguel de Icaza [Wed, 18 Apr 2012 22:47:36 +0000 (18:47 -0400)]
Bring jbevain/cecil's commit cf83e6fdbe0f6b676521ba641174a3085af60d0b, Expose ModuleDefinition.SymbolReader

12 years agoBring jbevain/cecil's commit 5d43150aed836ce3fee9fb26f33d0673a29d8697, Avoid creating...
Miguel de Icaza [Wed, 18 Apr 2012 22:46:50 +0000 (18:46 -0400)]
Bring jbevain/cecil's commit 5d43150aed836ce3fee9fb26f33d0673a29d8697, Avoid creating unecessary instances

12 years agoBring jbevain/cecil's commit a43bc63f8e7668cbdba2dea44dd8465f73781cfb, Fix handling...
Miguel de Icaza [Wed, 18 Apr 2012 22:41:51 +0000 (18:41 -0400)]
Bring jbevain/cecil's commit a43bc63f8e7668cbdba2dea44dd8465f73781cfb, Fix handling of explicit this call convention.

12 years agoBring jbevain/cecil's commit 19ba9cd4664f135963b52abd633485e2bec8da4a, Fail earlier...
Miguel de Icaza [Wed, 18 Apr 2012 22:41:19 +0000 (18:41 -0400)]
Bring jbevain/cecil's commit 19ba9cd4664f135963b52abd633485e2bec8da4a, Fail earlier when trying to process primitive types

12 years agoBring jbevain/cecil's commit 58c287883107819f9c73c336a940a5383e97f5a2, improve last...
Miguel de Icaza [Wed, 18 Apr 2012 22:41:02 +0000 (18:41 -0400)]
Bring jbevain/cecil's commit 58c287883107819f9c73c336a940a5383e97f5a2, improve last test

12 years agoBring jbevain/cecil's commit 854a5c473a236dcda5d107d0939fcc6b9f4b351b, Fix TypeDefini...
Miguel de Icaza [Wed, 18 Apr 2012 22:40:36 +0000 (18:40 -0400)]
Bring jbevain/cecil's commit 854a5c473a236dcda5d107d0939fcc6b9f4b351b, Fix TypeDefinition.IsPrimitive for Object

12 years agoBring jbevain/cecil's commit df324526cff399a1a16d9fc62311463d13438981, Make TypeDefin...
Miguel de Icaza [Wed, 18 Apr 2012 22:40:06 +0000 (18:40 -0400)]
Bring jbevain/cecil's commit df324526cff399a1a16d9fc62311463d13438981, Make TypeDefinition.IsPrimitive and .MetadataType match the behavior ….

12 years agoBring jbevain/cecil's commit 5e1d16e8d15973d10ade78b9f784b6bec7ee1bad, Properly write...
Miguel de Icaza [Wed, 18 Apr 2012 22:39:34 +0000 (18:39 -0400)]
Bring jbevain/cecil's commit 5e1d16e8d15973d10ade78b9f784b6bec7ee1bad, Properly write pe32+ binaries. Fixes bug #86.

12 years agoBring jbevain/cecil's commit 435974a4994e06b5065ea77057de899dd53729bb, Reduce the...
Miguel de Icaza [Wed, 18 Apr 2012 22:39:00 +0000 (18:39 -0400)]
Bring jbevain/cecil's commit 435974a4994e06b5065ea77057de899dd53729bb, Reduce the number of resize required to read most method bodies

12 years agoBring jbevain/cecil's commit 1f6385763d04e69441e464c5d20e9b70cd8fa4fc, Custom attribu...
Miguel de Icaza [Wed, 18 Apr 2012 22:38:20 +0000 (18:38 -0400)]
Bring jbevain/cecil's commit 1f6385763d04e69441e464c5d20e9b70cd8fa4fc, Custom attributes with a null blob are allowed now

12 years agoFix the build, introduce back the set method
Miguel de Icaza [Wed, 18 Apr 2012 22:36:31 +0000 (18:36 -0400)]
Fix the build, introduce back the set method

12 years agoBring jbevain/cecil's commit d934d35c94eb5d9c82ef825613108d84fbff068a, Fix issue...
Miguel de Icaza [Wed, 18 Apr 2012 22:35:47 +0000 (18:35 -0400)]
Bring jbevain/cecil's commit d934d35c94eb5d9c82ef825613108d84fbff068a, Fix issue with CustomAttributeSignature.

12 years agoBring jbevain/cecil's commit 74a697171cfc784ea856527730c1ffd1abb8ba2c, Use ordinal...
Miguel de Icaza [Wed, 18 Apr 2012 22:35:18 +0000 (18:35 -0400)]
Bring jbevain/cecil's commit 74a697171cfc784ea856527730c1ffd1abb8ba2c, Use ordinal comparer for string keyed dictionaries

12 years agoBring jbevain/cecil's commit e9f7b3bf39567cb7268e3e7490ab0c253b990606, Fix MethodRetu...
Miguel de Icaza [Wed, 18 Apr 2012 22:34:40 +0000 (18:34 -0400)]
Bring jbevain/cecil's commit e9f7b3bf39567cb7268e3e7490ab0c253b990606, Fix MethodReturnType.Parameter.Method

12 years agoBring jbevain/cecil's commit 5490b9bc05bd2efa8ed0e18f1c2da10e8e75f56b, Fix ThisParame...
Miguel de Icaza [Wed, 18 Apr 2012 22:32:38 +0000 (18:32 -0400)]
Bring jbevain/cecil's commit 5490b9bc05bd2efa8ed0e18f1c2da10e8e75f56b, Fix ThisParameter for static methods, and for instance methods of value types, Cecil #82

12 years agoBring jbevain/cecil's commit 4b4568d274560cb7334e0e2a08d12bd67effb610, fsharp enum
Miguel de Icaza [Wed, 18 Apr 2012 22:30:43 +0000 (18:30 -0400)]
Bring jbevain/cecil's commit 4b4568d274560cb7334e0e2a08d12bd67effb610, fsharp enum

12 years agoBring jbevain/cecil's commit abbedab2d7b215ee94c5eab894d86d010d105de6, style fix
Miguel de Icaza [Wed, 18 Apr 2012 22:29:35 +0000 (18:29 -0400)]
Bring jbevain/cecil's commit abbedab2d7b215ee94c5eab894d86d010d105de6, style fix

12 years agoBring jbevain/cecil's commit 96c93706ee1de0d70098db35515cdf94654fcf04, Fix the method...
Miguel de Icaza [Wed, 18 Apr 2012 22:29:08 +0000 (18:29 -0400)]
Bring jbevain/cecil's commit 96c93706ee1de0d70098db35515cdf94654fcf04, Fix the method field of the special this parameter

12 years agoBring jbevain/cecil's commit 5c88b826aeb02cccda0d779514d5986c8b0c987c, some pinvokes...
Miguel de Icaza [Wed, 18 Apr 2012 22:28:41 +0000 (18:28 -0400)]
Bring jbevain/cecil's commit 5c88b826aeb02cccda0d779514d5986c8b0c987c, some pinvokes methods have no map

12 years agoBring jbevain/cecil's commit 1fe347b3f985d0a5f92f0b3127f3f5194c87a284
Miguel de Icaza [Wed, 18 Apr 2012 22:26:55 +0000 (18:26 -0400)]
Bring jbevain/cecil's commit 1fe347b3f985d0a5f92f0b3127f3f5194c87a284

12 years agoFix typo.
Rodrigo Kumpera [Wed, 18 Apr 2012 18:44:02 +0000 (15:44 -0300)]
Fix typo.

12 years agoFix serial range allocator.
Rodrigo Kumpera [Wed, 18 Apr 2012 18:43:32 +0000 (15:43 -0300)]
Fix serial range allocator.

12 years agoFix int -> size_t api change. Might break some 64bits configurations.
Rodrigo Kumpera [Wed, 18 Apr 2012 16:42:45 +0000 (13:42 -0300)]
Fix int -> size_t api change. Might break some 64bits configurations.

12 years agoMerge pull request #276 from bholmes/wsq-deadlock-12-04
Rodrigo Kumpera [Wed, 18 Apr 2012 18:50:22 +0000 (11:50 -0700)]
Merge pull request #276 from bholmes/wsq-deadlock-12-04

Work Stealing Queue Deadlock fix... fix

12 years agoFixing some problems with my previous commit.
William Holmes [Wed, 18 Apr 2012 18:31:47 +0000 (14:31 -0400)]
Fixing some problems with my previous commit.

threadpool.c (async_invoke_thread) :
1) Decrease the thread pool waiting count if the dequeue was successful.
2) Do not call dequeue_or_steal while gc skip thread is true.

12 years agoMerge pull request #275 from bholmes/wsq-deadlock-12-04
Gonzalo Paniagua Javier [Wed, 18 Apr 2012 17:55:55 +0000 (10:55 -0700)]
Merge pull request #275 from bholmes/wsq-deadlock-12-04

Work Stealing Queue Deadlock fix.

12 years ago[warnign fix] Make my_charset const
Miguel de Icaza [Wed, 18 Apr 2012 17:48:25 +0000 (13:48 -0400)]
[warnign fix] Make my_charset const

12 years agothreadpool.c (async_invoke_thread) :
William Holmes [Wed, 18 Apr 2012 16:22:12 +0000 (12:22 -0400)]
threadpool.c (async_invoke_thread) :
Check that all the work stealing queues are empty before entering the wait loop.

If another thread adds a wsq job after the previous call to dequeue_or_steal
but before the InterlockedIncrement call deadlock can occur.

12 years ago[xbuild] Add a Microsoft.Portable.CSharp.targets file
Jeffrey Stedfast [Tue, 17 Apr 2012 20:45:17 +0000 (16:45 -0400)]
[xbuild] Add a Microsoft.Portable.CSharp.targets file