Comments (10)
[ThreadStatic]
private static Property<T>[] readProps, writeProps;
[ThreadStatic]
private static KeyValuePair<Type, Property<T, T>>[] subclasses;
Original comment by [email protected]
on 9 Dec 2008 at 2:04
from protobuf-net.
OK, I will post a fix later today - but I don't think [ThreadStatic] will be
the way,
since that would preclude any re-use. It will be something related, though.
Original comment by marc.gravell
on 9 Dec 2008 at 4:58
- Changed state: Started
from protobuf-net.
I wait for to hear your good news.
Original comment by [email protected]
on 9 Dec 2008 at 5:48
from protobuf-net.
Original comment by marc.gravell
on 9 Dec 2008 at 8:35
- Changed state: Fixed
from protobuf-net.
(fixed in latest build)
Original comment by marc.gravell
on 9 Dec 2008 at 10:19
from protobuf-net.
Oh,I have seen the latest build;
I find there is a new object "lockToken" to lock the threaded-unsafe-process.
but I don't think the Monitor will be the way,
the Monitor just make a multi-thread program to a one-thread program.
I think it is not highly active way.
Original comment by [email protected]
on 9 Dec 2008 at 12:42
from protobuf-net.
No, that isn't what it does... the lock is *only* taken during the Build()
step; and
only if the model hasn't already been built. For most cases, this will mean
only one
use of lock per-type, and after that no locks at all.
This change does not serialize calls to the main serialization code.
Original comment by marc.gravell
on 9 Dec 2008 at 1:39
from protobuf-net.
Ah, that accounts for it!
I will try it again tomorrow.
Original comment by [email protected]
on 9 Dec 2008 at 2:15
from protobuf-net.
Oh, I have tested again . You are right.
Original comment by [email protected]
on 10 Dec 2008 at 3:03
from protobuf-net.
Closed (verified)
Original comment by marc.gravell
on 6 Jan 2009 at 7:51
- Changed state: Verified
from protobuf-net.
Related Issues (20)
- Suffix missing for required non-primitive properties HOT 2
- global:: prefix forgot when generate field and property
- Concurrent dictionarys and linked lists goes null on serializing/deserializing.
- Calling GetSchema can cause call to serialize to throw an exception
- Method to detect built-in types
- Await/async proposal HOT 9
- Invalid proto data with TimeSpan via GetSchema() HOT 1
- Please add Windows Phone 8.1 to PCL version HOT 1
- protobuf-net.2.0.0.668\lib\net40\protobuf-net.dll should target v4.0.30319, not v2.0.50727
- Custom serializer works in debug - not in release HOT 5
- Won't build to Windows Phone 8
- Exception due to code in default constructor HOT 3
- I think with 100 runs of same code on same data I can see all exception of protobuf-net !! HOT 5
- Need Help Getting Started HOT 2
- Protobuf.net 'IsDefined' logical bug?
- Deserializing Dictionary<string, List<T>> leads to An element with the same key already exists in the dictionary.
- sub-classes serialization
- Precompiler failed to process asm which targets .NET Framework 3.5
- Value null exception
- Protobuf error System.Xml.Writer wrong assembly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protobuf-net.