Go to Post "I'm not going to tell you all that you all are winners. At this point you are smart enough to know whether you are or you aren't." -Woodie Flowers - Barry Bonzack [more]
Home
Go Back   Chief Delphi > CD-Media > Photos
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

photos

papers

everything



Totally Desctiptive Object Name

By: yash101
New: 29-10-2014 21:29
Updated: 29-10-2014 21:29
Views: 1349 times


Totally Desctiptive Object Name

An amazing way to name an Object in C++

Recent Viewers

  • Guest

Discussion

view entire thread

Reply

30-10-2014 05:56

Richard Wallace


Unread Re: pic: Totally Desctiptive Object Name

Every robot needs a locky-thingy. A robot without one might fire when it isn't supposed to, and hit the wrong target; e.g., a referee, FTA, or robot inspector.

Wouldn't want that. Better put in the locky-thingy.



30-10-2014 09:30

JesseK


Unread Re: pic: Totally Desctiptive Object Name

When I first read the title, I thought it said 'deceptive object name' at which point it could be named "THE_unlock".



30-10-2014 09:49

cjl2625


Unread Re: pic: Totally Desctiptive Object Name

Quote:
Originally Posted by Richard Wallace View Post
Every robot needs a locky-thingy. A robot without one might fire when it isn't supposed to, and hit the wrong target; e.g., a referee, FTA, or robot inspector.

Wouldn't want that. Better put in the locky-thingy.
The locky-thing on our robot is called the trigger.

But since in this picture, the project is called DrawingPad, I'm assuming this isn't for an FRC bot.



30-10-2014 14:03

yash101


Unread Re: pic: Totally Desctiptive Object Name

It's actually a mutex, so it is supposed to lock data during reads and rights. Without properly using it, the software would crash spectacularly as the server is 100% threaded! Memory does not like to be read and written to at the same time, at the same location.



02-11-2014 17:18

DonRotolo


Unread Re: pic: Totally Desctiptive Object Name

Quote:
Originally Posted by yash101 View Post
Memory does not like to be read and written to at the same time, at the same location.
Use different memory: Instead of ROM (Read-Only Memory), use WOM (Write-Only memory). That will solve the problem completely.



view entire thread

Reply
previous
next

Tags

loading ...



All times are GMT -5. The time now is 13:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi