@@ -75,18 +75,16 @@ OFMutableDictionary *_threadDictionary; @private OFString *_name; } -# ifdef OF_HAVE_PROPERTIES -# ifdef OF_HAVE_BLOCKS -@property (copy) of_thread_block_t threadBlock; -# endif -@property (copy) OFString *name; -@property float priority; -@property size_t stackSize; -# endif +#ifdef OF_HAVE_BLOCKS +/*! + * The block to execute in the thread. + */ +@property (readonly, copy) of_thread_block_t threadBlock; +#endif /*! * @brief Creates a new thread. * * @return A new, autoreleased thread