[
https://issues.apache.org/jira/browse/THRIFT-309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673110#action_12673110
]
Michael Greene commented on THRIFT-309:
---------------------------------------
Todd: as you no doubt are aware, your error in ThreadPool is due to having Mono
less than 1.2.4
1.2.4 is the first version that implements SetMaxThreads:
http://anonsvn.mono-project.com/viewvc?view=rev&revision=75954
Bizarrely, the method isn't even defined before that, despite being part of the
spec. I'm not sure how I would handle this -- we still want to be able to set
the max threads where possible, and I'd prefer not to have another compiler
detective beyond NET_2_0 for this special case. The alternative might be to
cripple Mono < 2.0 for just this method call.
What do interested parties think about these ... options?
David, your comments are accurate. I tested running on Mono greater than 2.0
after building with MSVC# (my primary C# development platform) but
embarrassingly had only checked to make sure I could build/run tests on 1.2.4
and 1.2.6 on Linux. I checked on Ubuntu's latest beta with gmcs 2.0.1 with my
latest patch and revised with your Makefile updates, and your version fixes it
to use the right Set.
I'd like to get the Etch problem resolved, but if you want to move that to
another issue to get this committed I think this is good to go with your
changes.
> Thrift should run on plain .NET 2.0 and compatible Mono, with no additional
> dependencies
> ----------------------------------------------------------------------------------------
>
> Key: THRIFT-309
> URL: https://issues.apache.org/jira/browse/THRIFT-309
> Project: Thrift
> Issue Type: Improvement
> Components: Compiler (C#), Library (C#)
> Reporter: Michael Greene
> Assignee: Michael Greene
> Fix For: 0.1
>
> Attachments: thrift-309-001.diff
>
>
> The current requirements for Thrift are:
> .NET 3.5 on Visual Studio 2008
> or
> Mono 1.2.6+ with special compiler flags or Mono 2.0 standard
> This does not need to be. We can support the following setup without too
> much difficulty:
> .NET 2.0+ on Visual Studio 2005+
> Mono 1.2.4+ standard
> I think we should, as this has come up several times via complaints on blogs,
> notes on the Wiki, or confusion on the mailing list. .NET 2.0's penetration
> is much higher than 3.5, and this moves support for Thrift out to ~2007 on
> the Mono side and ~2005 on the .NET side versus the current ~2008 for both.
> Just wrapping this up over here, patch will be available later today.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.